SOLVED: Where is my data?

anamika
Posts: 18
Joined: Thu Dec 25, 2014 9:24 pm

Re: Where is my data?

Postby anamika » Sun Aug 23, 2015 8:09 pm

After multiple reinstallations this is what I did

putty in linux
ssh into my server
root access su -

ls -l /dev/disk/by-id/ > before.txt
cat before.txt

Both my internal drives will show up. Hence, I skipped the next 2 commands and went to partition
parted /dev/sdX
mklabel gpt (answer yes when prompted)
mkpart primary 0% 100%
quit
ls -l /dev/disk/by-uuid/
mkfs.ext4 -j /dev/sdX1
I repeated the process for drive 2

hda-diskmount
Copied the UUID output for both drives in gedit

nano /etc/fstab
Added both UUID and save

mv /var/hda/files/* /var/hda/files/drives/drive1/

changed the path in the web interface
and that's it.

Thanks Bigfoot for all the help.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Where is my data?

Postby bigfoot65 » Mon Aug 24, 2015 4:41 am

Glad to hear it's working now.

Marking this as solved.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Who is online

Users browsing this forum: No registered users and 20 guests