I am trying to create a directory as managed in cygwin.
For this i was using
mount -o managed c:/cygwin/usr/src/kernel /usr/src/kernel
But after running this command it is giving below error
mount: invalid option - 'managed'
Thanks in advance
Related
Am trying to use NiFi's putFile to write into a windows mounted directory, first I used below command to mount the directory
sudo mount -t cifs //IP/export_path/ /home/exported_data/ -o username=user,password='pw',dir_mode=0777,file_mode=0777,nounix
and the file is written correctly but preceeded by dot . but then nifi throws an error stating that ...
Unable to remove temporary file /home/exported_data/.reject_2020-04-21.csv due to java.nio.file.AccessDeniedException: /home/exported_data/.reject_2020-04-21.csv: java.nio.file.AccessDeniedException: /home/exported_data/.reject_2020-04-21.csv
I also tried to set properties in putFile like Owner = nifi and Permissions = 777 but it didn't work
I think it could be related to permissions issue, but am not sure how to solve it
I am trying to mount our netapp but after mounting im getting weird result.
I will give the weird results. We are trying to mount a netapp DFS share.
First i tried to mount without a specific domain.
mount -t cifs -o rw,mand,user=<user>,password=<passowrd>,noserverino //ip/dfs <directory path>
The mount worked but i couldn't access the inner directories.
The message:
bash: cd: : No such file or directory
Then i tried to mount with specific domain.
mount -t cifs -o rw,mand,user=<user>,password=<passowrd>,noserverino,domain=<domainName> //ip/dfs <directory path>
The mount also worked it but now when i tried to access the directory i got the message: **
bash: cd: : Permission denied
I also know it should work because i was able to view the share via a windows 7 station and it worked perfectly.
Also, i used the file manager of gnome and used "connect to server". It also worked and i could access the inner directories.
If you need more information let me know, and thank you for the help.
I am trying to mount a directory as managed in cygwin.
For this i was using
mount -o managed c:/cygwin/usr/src/kernel /usr/src/kernel
But after running this command it is giving below error
mount: invalid option - 'managed'
Do i need to add this managed mount option / it is my default present
Thanks in advance
I am using Ubuntu in Virtualbox (both installed on Windows OS). I downloaded Hadoop to Windows (Downloads folder) in order to install it on Ubuntu. But I am unable to complete this task. I follow Hadoop installation steps from here.
I tried 2 options below and I received the following errors:
hduser#ubuntu14:/usr/local$ sudo cp ~/Downloads/hadoop2.7.1.tar.gz .
cp: cannot stat ‘/home/hduser/Downloads/hadoop2.7.1.tar.gz’: No such file or directory
and:
hduser#ubuntu14:/usr/local$ wget http://mirrors.sonic.net/apache/hadoop/common/hadoop-2.7.1/hadoop-2.7.1.tar.gz
Resolving mirrors.sonic.net (mirrors.sonic.net)... 69.12.162.27
Connecting to mirrors.sonic.net (mirrors.sonic.net)|69.12.162.27|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 210606807 (201M) [application/x-gzip]
hadoop-2.7.1.tar.gz: Permission denied
Cannot write to ‘hadoop-2.7.1.tar.gz’ (Permission denied).
Your errors are pretty intuitive here.
Option 1 you tried:
You cannot copy from the machine hosting the VM to the VM unless you have defined a shared folder, hence the /home/hduser/Downloads/hadoop2.7.1.tar.gz not found error.
Option 2 you tried:
Cannot write to hadoop-2.7.1.tar.gz (Permission denied). means you do not have the appropriate permissions in order to download this file.
You can try the same command in option 2 with sudo in order to fix this or download the hadoop tar file from within your VM and extract it for your first option.
Add sudoat the beginning of the command to solve the Permission problem. It allows a permitted user to execute a command as the superuser or another user.
I want to mount a folder which is on some other machine to my linux server. To do that i am using the following command
mount -t nfs 192.xxx.x.xx:/opt/oracle /
Which is executing with the following error
mount.nfs: access denied by server while mounting 192.xxx.x.xx:/opt/oracle
Do anyone knows what's going on ??? I am new to linux.
Depending on what distro you're using, you simply edit the /etc/exports file on the remote machine to export the directories you want, then start your NFS daemon.
Then on the local PC, you mount it using the following command:
mount -t nfs {remote_pc_address}:/remote/dir /some/local/dir
Please try with your home directory as per my knowledge you can't dump anything directly on root like that.
For more reference, find full configuration steps here.