[Malvern] Unlimited disk space

Darren Beale bealers at gmail.com
Tue May 16 15:30:21 BST 2006


Hi,

Mildly amusing: We have a not too elegant but cheap-as-chips backup
setup here where we have a few USB hard drives (a daily, plus a few
rotated weeklies) attached to the (Windows) meeting room PC. These
drives are shared and mounted by a few of our linux dev servers using
samba. Each night we cron a back-up onto these drives, this has been
working fine for about a year.

Anyway, today the meeting room PC complained about a write error to
one of the drives, here's the results of our initial investigations
when looking from one of the machines that write to the share:

flump:/mnt/chav# df -h | grep daily

Filesystem            Size  Used Avail Use% Mounted on
//chav/daily          149G   51G   98G  35% /mnt/chav/daily
<snip>

As you can see it's a 150GB drive and there is about 100GB free (this
is accurate)

What does du think?

flump:/mnt/chav# du -sh * | grep daily
2.1T    daily

Interesting a couple of terabytes in a 150G drive, best check what ls
thinks the size is?

flump:/mnt/chav# ls -l /mnt/chav/daily/
total 2168762739
-rwxr-xr-x    1 root     root     18446744072921928704 May  4 13:34 Exchange.bkf
<snip>

Wow that's a big number, lets try again

flump:/mnt/chav# ls -lh /mnt/chav/daily/
total 2.1T
-rwxr-xr-x    1 root     root          16E May  4 13:34 Exchange.bk

16 Exabytes that's pretty damn good from such a small drive, anyone
want to buy this amazing tardis-like drive?

(we're guessing samba has some issues asit's quite an old version so
will upgrade it in a bit)

-- 
Darren Beale
http://bealers.com



More information about the Malvern mailing list