Ktorrent xpert needed.

Joel Oliver joelol75 at verizon.net
Wed Feb 25 22:55:26 UTC 2009


It's just that your df -ha command doesn't list any /dev/sda5 partition, 
therefore it can't be mounted...  Unless you manually mount it every 
time you boot.  Here's my df listing on my file server.  This server has 
4 seperate hard drives.  The "main" hard drive is 80GB and has 3 
partitons, the root (/), the web servers partition (/www) and swap.  The 
other three have only one partition per drive and use reiserfs.  As you 
can see each /dev/sd*X* is clearly listed...  So why isn't your 40GB 
/dev/sda5 listed?  Because it's not mounted.  You would need a line in 
your /etc/fstab file such as:

/dev/sda5   /media/disk-1    ext3    defaults    0    2

Then reboot (or run sudo mount -a)

But, this would result in the files that are in /media/disk-1 to be 
"mounted over" by the partition.  The "proper" way (The Ubuntu way) is 
to make a directory sda5 in /media and mount it there.  I don't follow 
convention either and mount my disks in a directory /big.  Why?  Because 
I plug in alot of USB keys and USB Hard drives in to copy files to the 
server and then rm -rf /media/diskX/filestodelete* and don't want to 
take the chance of wiping a terabyte of data off the servers internal 
drives.



joel at serveftp:~$ df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sdc2              37G  8.1G   28G  24% /
varrun                506M  236K  506M   1% /var/run
varlock               506M     0  506M   0% /var/lock
udev                  506M   68K  506M   1% /dev
devshm                506M   44K  506M   1% /dev/shm
lrm                   506M   39M  467M   8% 
/lib/modules/2.6.24-23-generic/volatile
/dev/sdc3              37G  484M   34G   2% /www
/dev/sda1             932G  801G  132G  86% /big/sda1
/dev/sdb1             932G  315G  618G  34% /big/sdb1
/dev/sdd1             233G  8.7G  225G   4% /big/sdd1
gvfs-fuse-daemon       37G  8.1G   28G  24% /home/joel/.gvfs



Here's the /etc/fstab file:

joel at serveftp:~$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
# /dev/sda2
UUID=2f8d22bc-6551-4c7b-aafa-56bac4b40ff0 /               ext3    
relatime,errors=remount-ro 0       1
# /dev/sda3
UUID=569afc49-7e1a-45f5-8c9a-e8d77da86a34 /www            ext3    
relatime        0       2
# /dev/sda1
UUID=32e096e9-3d90-484e-a6d2-c7965b9aa1ea none            swap    
sw              0       0
/dev/scd1       /media/cdrom0   udf,iso9660 user,noauto,exec,utf8 0       0
/dev/scd0       /media/cdrom1   udf,iso9660 user,noauto,exec,utf8 0       0

/dev/sda1 /big/sda1 reiserfs defaults 0 2
/dev/sdb1 /big/sdb1 reiserfs defaults 0 2
/dev/sdd1 /big/sdd1 reiserfs defaults 0 2




Hope this clears up my confusion...






More information about the kubuntu-users mailing list