General :: Check That Mount Point Is An NFS Export Before Copying To It

May 10, 2011

I am copying some backup files to a NAS by connecting an NFS export on the NAS to a mount point on my linus box. I then copy the files to it with a cron job that runs nightly. I have mounted the NAS to /mnt/nas. How can I test that the mount point is active before I copy to it? I wouldn't want to copy to /mnt/nas unless it was actually connected to the NAS.

View 9 Replies


ADVERTISEMENT

General :: Mount External USB Drive In Debian To A Mount Point Based On The Volume Name

May 5, 2011

How do I configure my Debian installation to mount external USB drives to mount points based on the volume names of the drives? For instance, if I have a thumb drive with the volume name of "SWORDFISH," how do I have Linux mount it at /media/SWORDFISH? I'm aware that this can be setup in FSTAB, but that requires that I know the UUID of the device beforehand and that I take the time to set each external device up in FSTAB first. That does nothing for me when I have a thumb drive that has never been plugged into my computer before.

This seems to be setup by default in Ubuntu/Kubuntu, but is not working for me with a fresh installation of Debian Squeeze and KDE4. I've spent the past 2 hours Googling for a solution and have turned up nothing. UPDATE: My results are inconsistent. Sometimes Debian mounts devices to mount points based on the volume names, and other times it gives them generic mount points (e.g. /media/usb1).

View 2 Replies View Related

General :: What Is The Default Mount Point On Systems

Feb 23, 2010

Is the mount point for external media (like USB) always /media?

Because in a Debian system, if I plug in any USB device that goes to the /media folder. So is it the case with all the other Linux flavors like Fedora, Ubuntu, etc. If a USB device is automatically mounted will it always go to the /media directory?

I am not concerned about the name of the devices. I am looking for every external media (like USB) to be listed under /media directory so that my code can run on any flavor of Linux.

View 1 Replies View Related

General :: Move Mount Point To New RAID Set

Dec 3, 2010

I have a CentOS 5 production server with multiple OS-managed RAID-1 sets. I'd like to add a new mirrored set and move the /var partition to the new drives. On a non-RAID system I would boot from the install CD to edit fstab and copy the existing files to the new drive, but I'm pretty sure booting off the install CD does not recognize my RAID setup.

View 2 Replies View Related

General :: Accessing Data Under A Mount Point?

Apr 10, 2010

I'm using ext3 and I have my / partition on sda3. This is a full install, it has /bin /home etc etc on it, the only thing I have is sda1 is /boot and sda2 is swap.

I've configured my system to mount sda4 as /home/user as the system boots up, which puts all of my data on sda4.

My question is this. How do I access any data left in (sda3) /home/user? (Because trying that won't work). Is there some way to use a direct path? Like /device/sda3/home/user?

View 1 Replies View Related

General :: /bin/mount Mounts Point As A Different User ?

Dec 11, 2010

I have a directory, /root/backup, that I mount and run a bunch of rysnc scripts against to backup my box. I'm running into a very recent problem where when I run this command:

A directory that once looked like this:

Goes to this:

It changes from root to www (another user on my system) and I have no idea why.

When I look at the /mount/procs file, I see this:

So it looks like the uid is correct...

I believe this is what is causing my rsync scripts to fail (they only copy over directories and not the files in those directorys and I get a lot of permissions failed errors)

All of this is run as root in cron jobs

As a note, here is a sample rsync command:

View 4 Replies View Related

General :: Creating A New User In A Mount Point Other Than /

Oct 20, 2010

In my machine, there are 2 mount points - / and /userdata. From the root user, I want to create an oracle user at the /userdata mount point, i.e the home of the oracle user should be mounted on /userdata.

View 7 Replies View Related

General :: Make RDM Available As Mount Point On Server?

Aug 23, 2010

I built a Suse Linux server on vmware. I attached an RDM to the server and can now see the drive as a "Mass Storage Drive" in Applications - computer. When I double click on the icon, I get an error message that indicates that the drive can not be mounted. I tried to mount in gnome terminal using: mount /dev/sdb and get "can't find .dev/sdb in /etc/fstab or /etc/mtab". I tried adding device that I would like to mount to fstab, but don't think I have the settings correct. I looking for any info that might step me through the process.

View 2 Replies View Related

General :: Writing To Nfs Mounted Mount Point?

Oct 26, 2010

I have two servers, 82 and 70.My exports file on 82 reads /...70(rw)on 70 I have a mountpoint called mnt_for_82I execute on 70mount -t nfs -o rw ...82:/ mnt_for_82I go to server 70 and indeed can read and travers the mounted subdirectories. However, I try to create a file or subdirectory under the mount point on 70 and I get a *Permission Denied* error.I'm sure there is a simple explanation for this issue as well as a correct nomenclature for what I'm trying to do in nfs

View 4 Replies View Related

General :: Quotacheck: Can't Resolve Mount Point Path?

Apr 29, 2010

Configured for test purpose, a NIS-client and working. Yet playing around with 'quota'-

--after editing /etc/fstab
LABEL=/home /home ext3 defaults,quota 1 2
--followed by

[code]....

View 2 Replies View Related

General :: Create Mount Point For Unused Space?

Oct 28, 2009

My current pc running on LINUX raid 1 with both 80bg hdd, the /dev/md0 is growing. Either
a) I need to create another mount point to utilise the space.How i do this ? OR b) Clone the existing 80gb with 250gb, so /dev/mdo got more space?

# df -k
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/md0 20161084 15577508 3559440 82% /

[code]...

View 3 Replies View Related

General :: Creating A Open Fuse Mount Point?

Jul 27, 2010

I have a program that can create a fuse. For that i have to specify a mount point , like mono ccfs /mount. But how will I make /mount to be a fuse mount point? I donno whether my question sounds right or makes sense. But I want to create a fuse mount basically to provide it to the program. I dont hv any device or fs to mount initially .

View 2 Replies View Related

General :: Ensure Mount Point Is Mounted Correctly?

Jun 21, 2011

I need to know particular mount point mounted or not before send data to that mount point.Are there any commandsi used this command. mount -t nfs 172.16.102.50:/root/ESSR_share /root/shared_storage/pc50 -o rw,hard,intr but it take long time (when machine(172.16.102.50) is not available)

View 4 Replies View Related

General :: How To Prevent Access To Unmounted Mount Point?

Jan 10, 2010

I'm using some software that using mount point such as truecrypt. I also mount shared folder on other machine (fileserver) and publish it using ftp. The problem is when the truecrypt volume dismounted or the shared folder mount point loosing connection to the fileserver, user can write to the mount point without knowing that they actually not writing to the truecrypt volume or to the shared folder.

My question is, when sometime the server reboot and truecrypt volume is not mounted yet, how to prevent write to the mount point? I dont run truecrypt mount automatically for security reason.Some question for shared folder, if fileserver restart and the shared folder mount point got disconnected, how to prevent write to the mount point?

View 2 Replies View Related

General :: Root Can't Chown Mount Point For Samba Share?

May 30, 2010

I have a samba share that I mount locally at boot through fstab. The share is writable and if I access the share directly, say with konqueror and smb (smb://hostname/sharename) then I can do anything I want (create, write, delete, edit, files/directories). I have a mount point on my local machine

Code:

/shares/mp3

and I (username dtest) was unable to do anything except read files and create directories trying to do them to the local mountpoint except as root. I figured it would be a matter of

Code:

chown -R dtest /shares/mp3

but I was unable to do that even as root, I kept getting permission denied. When I did

Code:

ls -alt /shares/ it told me the owner was 1000 and the group was root. Dtest was already a member of the root group and I was able to

Code:

chmod -R 774

as root but I still couldn't do anything except read and create directories directly via the mountpoint. Ultimately I solved this by changing the uid of user dtest via kuser and then just chowning my home directory back to dtest. It seems like as root I should be able to change the owner of the directory. I know it's because this is a samba share, but it doesn't make any sense why root couldn't just chown it. Is there another way to change the owner of a directory, or is this set by the machine hosting the samba share?

View 3 Replies View Related

General :: Command To Display The Device-fs-uuid-mount Point?

Oct 26, 2010

I need a command to display the next info from my hdd:

device name - filesystem - uuid - mount point

I found blkid but the mount point is not displayed, I've already look in man but there is no parameter for that

View 2 Replies View Related

General :: Can Browse Files Via Windows Mount Point But Not Through The Server/share

Aug 20, 2009

Using SUSE 11 with Gnome. I mounted a CIFS share from a Windows server as /mnt/win. With the file browser, I can browse to file system/mnt/win and then the files and folders of the Windows share come up fine and I can open them. When I use the file browser to browse to network, the server hosting this share is listed. Then I browse to that server and it lists no shares (nothing at all). I can't go any further than the server. Is there a separate authentication necessary for the file browser to see this share from the network place?

View 2 Replies View Related

General :: Script To Alert About Mount Point Space Via Sendmail To User?

Mar 19, 2010

i'm in search of Script that sends a mail to the user if the mount point goes beyond 80% of its full space.
send mail is configured in the system so that it can communicate with mail server.

View 1 Replies View Related

General :: Usb Flash Drive Error / Unable To Read Mount Point

Nov 18, 2010

Also I have all files it asks for installed including dostools..Btw I used usb creator, then went to gparted and did something. The system is fat 32 now but with same message, not including ext4 part. Just the mount point message, and something about dosftools and mtools, wihich also are installed.

View 4 Replies View Related

OpenSUSE :: CD / DVD Mount Adds Trailing Blanks To Mount Point?

Feb 16, 2010

On SUSE 11.2 when a CD or DVD is automounted (in the /media directory) it appears that the mount point chosen for the disk always has extra blanks at the end of the mount.

For example, if the label on the CD was DISK-001, the mount point chosen by SUSE is

/media/DISK-001 /

In 11.1 (and earlier) the mount point would have been

/media/DISK-001/

I'm assuming that the trailing blanks are filling in unused or blank chars at the end of the CD label.

Is there any way to change this annoying behavior? I much prefer NOT to have trailing blanks in the mount point.

View 3 Replies View Related

Server :: Auto Mount USB Drive To Specified Mount Point After Reboot

Jul 19, 2010

I have servers installed with RHEL 4 2.6.9-89.0.9 ELsmp. I tried using uuid and label in /etc/fstab to automount usb drives to mountpoints that I specify after reboot. Unfortunately, it just does not work in all my RHEL4 servers. After every reboot, /etc/fstab will be automatically modified and all configurations related to my USB drives will be changed. Irregardless of whether i use UUID or LABEL in my /etc/fstab.However, it works on RHEL5. But, upgrading is not an option in my environment. I have been googling around looking for alternatives but everything seems to point back to using UUID or LABEL in /etc/fstab. Anyone has tried something that works? Please help me, thank you.

View 7 Replies View Related

OpenSUSE Network :: Cannot Mount The NFS Export

Oct 20, 2010

I am running OpenSuSE 11.3. I cannot mount an export from a Redhat 9 NFS server.I am able to mount the export from RHEL5, Ubuntu, Fedora, Solaris but not OpenSuSE 11.3. This is the command I use from a Ubuntu Karmic box.

mount server:/exportdir /mnt -o vers=3,proto=udp

As I said it works from many other distros, but not sure why no go on this one. Can anyone explain this? Should I submit a bug? I noticed portmap is not used anymore and am wondering if thatmay have anything to do with it. The rpcbind is supposed to handle this from what I read..not sure if this is accurate.

View 4 Replies View Related

General :: Finding Mount Point Path For Windows CIFS Volume Visible In Ubuntu File Browser

Jan 8, 2010

using Ubuntu file browser, I browsed my Windows network and logged on to a Windows PC. Now Ubuntu file browser shows me "C$ on WinPC" as a folder. I can open it, read/write files, etc.But from bash prompt, I don't see anything of type CIFS/SMBFS listed in the output of "mount". Only the usual suspects (like local CDROM). How can refer to Windows files from Linux commandline?

View 6 Replies View Related

General :: Mount Point For Backup Drive - Partition To Backup The Important Files On My Main HDD

May 21, 2011

I'm just setting up a partition on a seperate HDD in my system. I plan to use the partition to backup the important files on my main HDD (to guard against HD crash).

The question I have is about where would be the typical location to auto mount this partition? Which would it be normal to go for:

1. /backup/
2. /media/backup/
3. /mnt/backup/
4. /home/chris/backup/

View 7 Replies View Related

Ubuntu Security :: Seahorse Export Menu Is Always Disabled - Export The Passwords To Restore It After Formatting Machine?

Jun 12, 2010

seahorse export menu is always disabled. I need to export the passwords to restore it after formatting my machine.

View 1 Replies View Related

Ubuntu :: Mount Point 0 Does Not Exist?

Feb 26, 2010

I am dual-bootng Ubuntu 9.10 and Mint 8, both of which use GRUB2. The Mint 8 GRUB sets the initial menu since Mint was loaded after Ubuuntu 9.10. Since both use GRUB2 I was not concerned about this.

Both before the installation of Mint and afterward I see a series of messages fly by on the screen when Ubuntu is booted. These come right after the initial presentation of the Ubuntu logo.

By restarting several times I can read the first several lines. They are:

Mount: Mount Point 0 does not exist
Mount 0 terminated with status 32
Mountall: Filesystem could not be mounted

Further lines follow but I would have to reboot umpteen times to have any chance of copying those.

I have looked in the various Ubuntu GRUB2 files for "Mount Point 0". I do not see any reference to it.

GParted, BKID and etc/fstab all agree on the UUIDs set for my Ubuntu/, Ubuntu Home and Ubuntu swap file.

I see nothing like this when I boot Mint 8.

My questions:

What is the point to error messages (I assume that is what they are) that fly by too quickly to be read? Are they saved to a logfile somewhere?

What is "Mount Point 0"?

What does it mean in this context to say "Filesystem could not be mounted"?

This is all very curious because Ubuntu proceeds to mount and run just fine.

What is Ubuntu trying to do as it starts up that it cannot do?

How do I repair whatever has to be repaired in order to turn off these messages?

I have looked through such GRUB2 dcumentation as I can find without seeing any reference to this.

View 7 Replies View Related

Ubuntu :: Accessing Mount Point Over NFS

May 22, 2010

I have a folder shared over NFS that contains three sub folders:
(Machine A)
/usr/nfsshare/a
/usr/nfsshare/b
/usr/nfsshare/c

I can see these three folders just fine on machine B via nfs.
sudo mount machineA:/usr/nfsshare /mnt/ShareMountOnB
Now I want to mount a second drive in machine A, and mount it as a fourth shared folder:
mkdir /usr/nfsshare/d
sudo mount /dev/sdb1 /usr/nfsshare/d

I can see and access all four folders on machine A just fine. I can see all four folders on machine B in /mnt/ShareMountOnB, but when I descend into folder d, it is empty! Bizarrely I can create files in this empty folder d on machine B, but I have no idea where they are being held. They are certainly not in machine A. What I have to do to access the real contents of folder d. I have already changed all permissions and owners to be identical to the other folders.Sharing it over samba to a Windows PC works fine.

View 1 Replies View Related

Ubuntu :: Add Additional Mount Point In 11.04?

Apr 8, 2011

I just installed 11.04 beta yesterday and was following along with this article so I could setup a "Storage" partition and always have access to the same files in win 7 or ubuntu. [URL]

The problem happens when you try to install and use ntfs-config and run it. Here is the description from the article:

Quote:

Originally Posted by lifhacker article

Finally! Head to the Applications menu and pick the Ubuntu Software Center. In there, search for "ntfs-config," and double-click on the NTFS Configuration Tool that's the first result. Install it, then close the Software Center. If you've got the "Storage" or Windows 7 partitions mounted, head to any location in Places and then click the eject icon next to those drives in the left-hand sidebar. Now head to the System->Administration menu and pick the NTFS Configuration Tool.

You'll see a few partitions listed, likely as /dev/sda1, /dev/sda2, and the like. If you only want your storage drive, it should be listed as /dev/sda3 or something similar--just not the first or second options. Check the box for "Add," click in the "Mount point" column to give it a name (Storage, perhaps?), and hit "Apply." Check both boxes on the next window to allow read/write access, and hit OK, and you're done. Now the drive with all your stuff is accessible to Windows and Linux at all times.

When I try to run the ntfs-config, I get the following.

However, in the software center there is a note below the ntfs-config download saying:

Quote:

Originally Posted by Software Center

It just so happens that this program is a newer and improved version, but very few people know about it. It's better to install the disk-manager.

View 9 Replies View Related

Ubuntu :: Mount Point Disappearing / What's Going On?

Apr 15, 2011

I've just formatted a new USB drive to ext4. After creating a mountpoint (/media/Vids) and mounting it I changed permissions so my user owned the filesystem. I added the filesystem to /etc/fstab.

However, when unmounting the drive the mountpoint directory disappeared and I have to manually recreate the mountpoint everytime I want to remount the drive. What's going on?

View 4 Replies View Related

Red Hat / Fedora :: NFS Mount Point On Two Servers?

Jun 1, 2010

I am trying to mount /NFS as nfs mountpoint on two servers ( A & B ) having OS OEL 5. After mounting the nfs filesystem, both of them behave normally for around 10 mins and after that the NFS file handle become stale and the mountpoints dont respond. While executing df -kh, the output hang out and the /var/log/messages show the following message:

May 27 15:48:56 earth mountd[3078]: Cannot export /NFS, possibly unsupported filesystem or fsid= required
May 28 04:04:20 earth kernel: nfs: server nas not responding, still trying
May 28 10:11:51 earth kernel: nfs: server nas not responding, still trying

The fstab entries for /NFS mountpoint on both servers is :
nas:/NFS /NFS nfs rw,bg,hard,nointr,tcp,nfsvers=3,timeo=600,rsize=32 768,wsize=32768,acti
meo=0 1 2

/etc/export entries on both server is :
/NFS *(rw,sync,no_wdelay,insecure_locks,no_root_squash)

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved