My new HD disappeared

sc4s2cg
Posts: 19
Joined: Fri Dec 12, 2008 3:55 pm

My new HD disappeared

Postby sc4s2cg » Sun Jan 17, 2010 9:14 pm

..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.

User avatar
cpg
Administrator
Posts: 2618
Joined: Wed Dec 03, 2008 7:40 am
Contact:

Re: My new HD disappeared

Postby cpg » Sun Jan 17, 2010 9:23 pm

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.
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

sc4s2cg
Posts: 19
Joined: Fri Dec 12, 2008 3:55 pm

Re: My new HD disappeared

Postby sc4s2cg » Sun Jan 17, 2010 9:29 pm

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.

User avatar
cpg
Administrator
Posts: 2618
Joined: Wed Dec 03, 2008 7:40 am
Contact:

Re: My new HD disappeared

Postby cpg » Sun Jan 17, 2010 9:35 pm

ok, then try this:

Code: Select all

mount /dev/sdb1 /var/hda/files/drives/sdb1
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

sc4s2cg
Posts: 19
Joined: Fri Dec 12, 2008 3:55 pm

Re: My new HD disappeared

Postby sc4s2cg » Sun Jan 17, 2010 9:44 pm

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. :)

Who is online

Users browsing this forum: No registered users and 22 guests