Page 1 of 1

My new HD disappeared

Posted: Sun Jan 17, 2010 9:14 pm
by sc4s2cg
..and it's my fault. I accidentally deleted the /var/hda/files/drives/sdb1 folder while trying to fix some permission issues, which of course had some effects on the second HD cpg and I mounted a week ago. It's physically there, and hda can get temperature/etc, but I cannot access it outside of the server itself. All the data was already backed up, so no issues there. It's just I need access to 2tb of space..Tried running the new diskmounter script again, it says there's nothing to mount.

Anyone know how to fix? Everything will have to be said in total newbie mode please.

Re: My new HD disappeared

Posted: Sun Jan 17, 2010 9:23 pm
by cpg
you may want to run (as root)

Code: Select all

gparted /dev/sdb
to see if it's got the partition you had. if not, then you may want to create it.

also, reboot to make sure it's picked up again.

Re: My new HD disappeared

Posted: Sun Jan 17, 2010 9:29 pm
by sc4s2cg
I yum installed gparted and did the command above. It opened up the program to show partition /sdb1, the new 2tb HD. It also recognized that I have 182GB files on there.

Re: My new HD disappeared

Posted: Sun Jan 17, 2010 9:35 pm
by cpg
ok, then try this:

Code: Select all

mount /dev/sdb1 /var/hda/files/drives/sdb1

Re: My new HD disappeared

Posted: Sun Jan 17, 2010 9:44 pm
by sc4s2cg
That worked superb cpg, thank you. :)

Edit: To anyone reading this: restarted the server at cpg's suggestion, the command still works like a charm. :)