Missing hard drive space

jdow jdow at earthlink.net
Mon Apr 20 09:52:19 UTC 2009


From: "MG" <m.s0128532 at gmail.com>
Sent: Monday, 2009/April/20 02:31


> fstab :
> # /etc/fstab: static file system information.
> #
> #  -- This file has been automaticly generated by ntfs-config --
> #
> # <file system> <mount point>   <type>  <options>       <dump>  <pass>
>
> proc /proc proc defaults 0 0
> # Entry for /dev/sda1 :
> UUID=d053ecd0-1482-4cfc-8b34-1d821a41f843 / ext3 
> relatime,errors=remount-ro
> 0 1
> # Entry for /dev/sda5 :
> UUID=8c6a2356-9c6b-4ef1-9b65-8e6edbf76120 none swap sw 0 0
> /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
> none       /mnt/ramfs      tmpfs      defaults  0 0
>
>
> mtab:
> /dev/sda1 / ext3 rw,relatime,errors=remount-ro 0 0
> tmpfs /lib/init/rw tmpfs rw,nosuid,mode=0755 0 0
> /proc /proc proc rw,noexec,nosuid,nodev 0 0
> sysfs /sys sysfs rw,noexec,nosuid,nodev 0 0
> varrun /var/run tmpfs rw,nosuid,mode=0755 0 0
> varlock /var/lock tmpfs rw,noexec,nosuid,nodev,mode=1777 0 0
> udev /dev tmpfs rw,mode=0755 0 0
> tmpfs /dev/shm tmpfs rw,nosuid,nodev 0 0
> devpts /dev/pts devpts rw,noexec,nosuid,gid=5,mode=620 0 0
> fusectl /sys/fs/fuse/connections fusectl rw 0 0
> lrm /lib/modules/2.6.27-11-generic/volatile tmpfs rw,mode=755 0 0
> none /mnt/ramfs tmpfs rw 0 0
> securityfs /sys/kernel/security securityfs rw 0 0
> binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw,noexec,nosuid,nodev 0 
> 0
> /dev/sdc1 /media/FREECOM\040HDD vfat
> rw,nosuid,nodev,uhelper=hal,shortname=mixed,uid=1000,utf8,umask=077,flush 
> 0
> 0
> /dev/sdd1 /media/disk fuseblk rw,nosuid,nodev,allow_other,blksize=4096 0 0
> gvfs-fuse-daemon /home/max/.gvfs fuse.gvfs-fuse-daemon
> rw,nosuid,nodev,user=max 0 0
>
> I am new to this so is there any chance of telling me exactly what I need 
> to
> add for each drive?
>
> plus please explain ''Also only /dev/sda is valid in your fdisk retuns for
> the first drive.
> /dev/sda1..N are partitions on /dev/sda. '

I am betting Ubuntu has a GUI tool for doing this. Maybe somebody could
be nice enough to take over here. It's late here in California and I'm
heading to bed.

For doing it by hand you ideally need to find the tool that extracts the
UUID for each partition that is not mounted. Then add a line like:
LABEL=/usr-7   /usr   ext3    defaults  1 2

except with the UUID. (I've been using the LABEL approach since it was
introduced. And I have legacy drives in that system. Hence the syntax.
"man fstab" will tell you what the various fields do. For example the
first three fields identify the partition, the mount point, and the
file system, respectively. This example uses default parameters, needs
dump (generally set to 1), and is mounted on the second pass. It's not
needed during the earliest stages of the boot process but should be
mounted when all the file systems get mounted or converted to read-write
as needed.

Find each partition's UUID and replace the LABEL= with a UUID= and set
the mount points appropriately.

But if you're relatively new to all this a grapical utility might be
best. Hopefully somebody will tell you the Ubuntu tool's name.

{^_^}

{^_^} 





More information about the ubuntu-users mailing list