[ubuntu-users] Mount Catastrophe -- HELP!

Ted Hilts thilts at mcsnet.ca
Thu Apr 10 01:53:26 UTC 2008


When I was getting help from the list regarding ntfs drives a 
Catastrophe occurred which I just noticed.  How do I fix it???

Here is the situation:

NOTICE that the "mount"  command when used all by itself with no 
parameters gives a listing for example:"/dev/sde2 on /media/sda2 type 
fuseblk" and the /etc/fstab file (below the mount listings) gives for 
that same listing
"# /dev/sda2
UUID=58BCBB80BCBB56EA /media/sda2     ntfs    defaults,umask=007,gid=46 
0       1"

In this single example it seems to me that the mount is associated with 
the UUID (which is permissible)  and the comment "# /dev/sda2" has been 
replaced by the UUID.  I had just assumed they were the same entities -- 
that is "# /dev/sda2" was a kind of alias for the UUID but now I think 
the UUID has been used to replace the "# /dev/sda2" in order to 
establish the physical ordering of the hard drives. This means that when 
I did certain instructions such as:
"sudo umount /dev/sde1;sudo mount -o defaults,uid=ted,gid=ted,umask=007 
/dev/sde1 /media/sde1"
I was operating on the wrong drive--not the drive I wanted to change.  
Since this is Ubuntu and XP in a dual boot I may have messed up XP.  
THIS MAY ALSO BE THE REASON WHY other machinces cannot access the Ubuntu 
shares.

I need help understanding this whole problem. When I use "mount -a" 
there are NO changes so my guess is that the UUIDs are as someone 
(before I started to look at this problem) put into place when the 
drives were installed. I don't even know how to establish what UUID is 
associated with what hard drive.

Thanks -- Ted
See below for the

ted at Ubuntu:~$
ted at Ubuntu:~$ mount
/dev/sde3 on / type ext3 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
/sys on /sys type sysfs (rw,noexec,nosuid,nodev)
varrun on /var/run type tmpfs (rw,noexec,nosuid,nodev,mode=0755)
varlock on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777)
udev on /dev type tmpfs (rw,mode=0755)
devshm on /dev/shm type tmpfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
lrm on /lib/modules/2.6.22-14-generic/volatile type tmpfs (rw)
/dev/sde1 on /media/sda1 type vfat (rw,utf8,umask=007,gid=46)
/dev/sde2 on /media/sda2 type fuseblk 
(rw,nosuid,nodev,noatime,allow_other,default_permissions,blksize=4096)
/dev/sdf1 on /media/sdb1 type fuseblk 
(rw,nosuid,nodev,noatime,allow_other,default_permissions,blksize=4096)
/dev/sdg1 on /media/sdc1 type fuseblk 
(rw,nosuid,nodev,noatime,allow_other,default_permissions,blksize=4096)
/dev/sda1 on /media/sdd1 type fuseblk 
(rw,nosuid,nodev,noatime,allow_other,default_permissions,blksize=4096)
/dev/sdb1 on /media/sde1 type fuseblk 
(rw,nosuid,nodev,noatime,allow_other,default_permissions,blksize=4096)
/dev/sdc1 on /media/sdf1 type fuseblk 
(rw,nosuid,nodev,noatime,allow_other,default_permissions,blksize=4096)
/dev/sdd1 on /media/sdg1 type fuseblk 
(rw,nosuid,nodev,noatime,allow_other,default_permissions,blksize=4096)
securityfs on /sys/kernel/security type securityfs (rw)
none on /sys/kernel/config type configfs (rw)
capifs on /dev/capi type capifs (rw,mode=0666)
nfsd on /proc/fs/nfsd type nfsd (rw)
ted at Ubuntu:~$


ted at Ubuntu:~$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
# /dev/sda3
UUID=c8f92b8f-2f46-4500-929b-ccf369500593 /               ext3    
defaults,errors=remount-ro 0       1
# /dev/sda1
UUID=2ED6-1123  /media/sda1     vfat    defaults,utf8,umask=007,gid=46 
0       1
# /dev/sda2
UUID=58BCBB80BCBB56EA /media/sda2     ntfs    defaults,umask=007,gid=46 
0       1
# /dev/sdb1
UUID=E83698FB3698CC46 /media/sdb1     ntfs    defaults,umask=007,gid=46 
0       1
# /dev/sdc1
UUID=581CE03A1CE01532 /media/sdc1     ntfs    defaults,umask=007,gid=46 
0       1
# /dev/sdd1
UUID=2018EC4E18EC248E /media/sdd1     ntfs    defaults,umask=007,gid=46 
0       1
# /dev/sde1
UUID=3698FF2798FEE3F1 /media/sde1     ntfs    defaults,umask=007,gid=46 
0       1
#UUID=3698FF2798FEE3F1 /media/sde1     ntfs    
defaults,gid=ted,uid=ted,umask=007 0 1
# /dev/sdf1
UUID=8868FAEC68FAD7C0 /media/sdf1     ntfs    defaults,umask=007,gid=46 
0       1
# /dev/sdg1
UUID=D02C35002C34E360 /media/sdg1     ntfs    defaults,umask=007,gid=46 
0       1
# /dev/sda4
UUID=891e4299-a126-4f0a-9b2c-b772bb91a47c none            swap    
sw              0       0
/dev/scd0       /media/cdrom0   udf,iso9660 user,noauto,exec 0       0
/dev/fd0        /media/floppy0  auto    rw,user,noauto,exec 0       0
ted at Ubuntu:~$  





More information about the ubuntu-users mailing list