Ok Im going to try to be as detailed as possible, I'm running Freebsd 9.2. I started this adventure with two drive, a system drive and a second 3TB drive which mounted to /secDsk. My end goal was to install a new 8TB drive, copy all the data from the 3TB drive to the new 8TB drive. Then remove the 3TB drive and have the 8TB drive mount to /secDsk.
I first installed the new 8TB drive in the computer, I booted it and ran
to make sure it was seeing the new drive. The new drive was coming up as "ada2" I then took these few next steps:
So far every was working great. I then copied everything from my 3TB drive which was mounted at /secDsk to the 8TB drive at /media. I only had 3 folders on the root of /secDsk so I copied them one by one
after each folder I check to maker sure everything had made it over and also check the data size matched with
and
and everything matched up.
So my next step was to remove the old drive 3TB from the /etc/fstab and add my new 8TB drive. I used vi to change fstab to this:
I then shut down the server, unplugged the 3TB drive and then restart the server. Then I received this error
I have also attached a screen shot so you can see everything it say. Please help me fix my server so it boot and mounts the system and new 8TB drive. Thanks for any and all help.
I first installed the new 8TB drive in the computer, I booted it and ran
Code:
sysctl kern.disks
Code:
gpart create -s GPT ada2
gpart add -t freebsd-ufs -a 1M ada2
newfs -U /dev/ada2p1
mkdir /media
mount /ada2p1 /media
So far every was working great. I then copied everything from my 3TB drive which was mounted at /secDsk to the 8TB drive at /media. I only had 3 folders on the root of /secDsk so I copied them one by one
Code:
cp -R /secDsk/jobs /media/jobs
Code:
du -hs /secDsk/jobs
Code:
du -hs /media/jobs
So my next step was to remove the old drive 3TB from the /etc/fstab and add my new 8TB drive. I used vi to change fstab to this:
Code:
/dev/ada01 / ufs rw 1 1
/dev/ada2p1 /secDsk ufs rw 0 1
I then shut down the server, unplugged the 3TB drive and then restart the server. Then I received this error
Mounting from ufs:/dev/ada0a failed with error 19
I have also attached a screen shot so you can see everything it say. Please help me fix my server so it boot and mounts the system and new 8TB drive. Thanks for any and all help.