Koozali.org: home of the SME Server

fsck of mirrored drives

Damian

fsck of mirrored drives
« on: January 31, 2005, 01:10:40 PM »
I stuffed up a move of my mp3 store (22GB) on SME and now have 22GB unrecoverable disk space. df -k says the space is used but du -sk says it's not accounted for. I'm guessing I need to fsck the disk but as it's mirrored I could do some damage here. I just want to recover the space so I can copy the mp3s back on.
Anyone have experience of this ?

Damian

Offline ReetP

  • *
  • 3,943
  • +6/-0
fsck of mirrored drives
« Reply #1 on: February 03, 2005, 10:39:58 AM »
Have you read :

http://mirror.contribs.org/smeserver/contribs/dmay/smeserver/5.x/contrib/raidmonitor/raid-recovery-howto.html

If you have a mirrored pair, effectively you can repartition the drive and then add the partitions back to the array.

Normally if I lose a partition I reboot and let it fail the partition, then /sbin/raidhotadd it back. Always seems to sort itself out :-)
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Damian

fsck of mirrored drives
« Reply #2 on: February 03, 2005, 11:20:29 AM »
Thanks for the reply. I had read it but with total disk failure in mind. I have actually recovered the disk space - during a drunken late night contrib install I moved all the mp3s to the netjuke ibay and by the morning didn't remember anything about it  :pint:
Must stop this spaced-out admin thing.
Damian