On 08/04/11 13:21, keith hyland wrote:
> i recently moved a couple of pata EXT3 formatted disks from a CentOS machine
> to a newly built openSUSE 11.3 box. - the first time i mounted them the
> sizes looked about right, but after running chown on /mnt/srv to adjust the
> ownerships, /mnt/srv has lost 20GB and run out of space. the chown command
> completed correctly.
>> /dev/sdc1 480590764 459308361 0 100% /mnt/srv
> /dev/sdb1 480590764 417037192 39134372 92% /mnt/backup
>> /var/log/messages is empty - syslog wasn't installed at the time.
>> fstab reads:
> /dev/sdc1 /mnt/srv ext3 defaults 1
> 2
>> mtab reads:
> /dev/sdc1 /mnt/srv ext3 rw 0 0
> /dev/sdb1 /mnt/backup ext3 rw 0 0
>> i haven't written to /mnt/backup - as the name suggests, its a backup of
> /mnt/srv *but* its not up to date, so destroying /mnt/srv is the worst
> option.
> browsing the file structure with mc shows the correct space, free space of
> 20GB (4%) and free nodes 60917884 (29%) of 61048832
> - at a glance those node numbers don't seem to make sense though...
>> short of buying another 500GB disk and copying everything over, what options
> do i have to restore the drive ?
hi,
After re-reading the mail my comments don't really make sense - please
ignore that mail.
Can you verify if there are still any open file handles on the /mnt/srv
partition that are not accounted for/associated with real filenames ?
Please check with:
"lsof -nR /mnt/srv" -- you might want to grep for "deleted"
"fuser -auv /mnt/srv"
Kind regards,
Achim
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!