charm's blog

New file server

in

So I set up a completely new Samba server, and made sure there was a little redundancy. The root file system is stored on a 9.1GB UW SCSI drive. I set up a data on a 120GB IDE drive (which was suppose to be a 200GB hard drive, but it got snatched before I could get it). The plan is to mirror both drives. I haven't attached the mirrored OS drive yet.

LVM, Logical Volume Migraine

Migraine time. The past 3 days I've been waiting patiently for a system to finish a file system check on a couple of LVM partitions. The story is complicated by the fact that the hard drive in the system was incorrectly ghosted. The drive in question is a 120GB hard drive, but it was ghosted as if it was a 60GB hard drive.

I came into the picture about a year ago when I added the rest of the drive using LVM. Recently that drive started to fill so I added a second drive to the volume group. I got a call a few days ago saying that the drives on the server were no longer writable. I rebooted (mistake) and ever since the drive has been in a recovery shell (not a normal shell). Doing a fsck results in Illegal block #5020 (90367283) in inode 7 (example) and I have to press y to reallocate the blocks. Originally I just took a lead pipe and put it on the 'y' key before doing a fsck -h and seeing that all I had to do was fsck -y to get the same result (the lead pipe hack is cooler though).

Syndicate content Syndicate content Syndicate content