Page 2 of 2

Re: Partitioning Table Errors

Posted: 2019/01/04 06:13:39
by Whoever
I don't understand what is going on here. If you have a RAID 5 array with 3 drives and one drive has failed, you should be able to read and write the data.

Whether or not you can add the replacement drive to the array is not important. The question is why does your RAID 5 array not work with 2 drives.

We can't see your images, nor can we see the posting on the Intel website, so no one here can really provide any useful insight.

The data was very valuable, right? So why not just restore it from your backup?

Re: Partitioning Table Errors

Posted: 2019/01/05 19:38:21
by jmacdougca
Hi Whoever, thanks for the reply,

I agree I should be able to read and write the data with two drives. The RAID5 did work with two drives but it started to get slow so I shut the server down because I got scared.

I then put in a new hard drive (same type and size) because I thought it would automatically rebuild the RAID, turns out nope, it doesn't work like that, at least with this motherboard any ways. What I am wondering is if I set up the raid on the centos cmd would I be able to rebuild the raid without having to restore the raid from a back up (which I don't have). In other words would I be able to put the replacement hard drive in and restore like that?

Yeah the intel website has blocked me out as well...

Unfortunately I don't have backups for this RAID. This server has 2 RAIDS on it. The RAID5 was back up for the RAID0 I use for our CRM. I am hoping all my data is on the RAID0.

I feel like the next step is to take the new HD out of the Raid5 start the server and post the results of

fdisk -l and go from there. Will post in a few hours

Re: Partitioning Table Errors

Posted: 2019/01/05 20:18:00
by Whoever
I agree.

See if your RAID partition is readable with the two original drives. If it is, copy the data off to a safe location as soon as possible.

Then consider Trevor's suggestion: set up the drives as JBOD and use software RAID.

Re: Partitioning Table Errors

Posted: 2019/01/23 11:27:03
by jmacdougca
@whoever, i'm working away here, I am doing a "dry run" first on my fedora machine before booting up the Centos server

when you say "copy the data" does that mean I should be able to see all the files on the HDs still or should I be backing up the partition table with something like:

1) dd if=/dev/sdX of=/dev/sdY bs=64K conv=noerror,sync?
2) # sfdisk -d /dev/sda > sda.partition.table.dd-mm-yyyy.txt?
3) and or what about a parted rescue option?

Again, this is is the first time i've done this, and I guess there is more then one way to proceed, am I correct?

Re: Partitioning Table Errors

Posted: 2019/01/24 05:02:26
by Whoever
jmacdougca wrote:
2019/01/23 11:27:03
@whoever, i'm working away here, I am doing a "dry run" first on my fedora machine before booting up the Centos server

when you say "copy the data" does that mean I should be able to see all the files on the HDs still or should I be backing up the partition table with something like:

1) dd if=/dev/sdX of=/dev/sdY bs=64K conv=noerror,sync?
2) # sfdisk -d /dev/sda > sda.partition.table.dd-mm-yyyy.txt?
3) and or what about a parted rescue option?

Again, this is is the first time i've done this, and I guess there is more then one way to proceed, am I correct?

Either method should work, but copying the files will normally require you to copy less data. I would go that way.

Re: Partitioning Table Errors

Posted: 2019/02/05 03:46:43
by jmacdougca
Update here;
I am able to use centos usb boot device to get this far in the system recovery process,
can I back up my files from here some how?
https://www.dropbox.com/s/nbdj64ytv9ke1 ... 3.jpg?dl=0

Re: Partitioning Table Errors

Posted: 2019/02/05 06:49:30
by jmacdougca
big update! I am able to see all the partitions using a usb boot device.
https://www.dropbox.com/s/gkcpoo0gzi84g ... R.jpg?dl=0

# Now we can try a backup using tar, I'll backup /home as an example
tar cvpzf /mnt/extdisk/homebackup.tar.gz /home


Now for back ups do I back up each partition separately ? Will that affect anything because of Raids?

sdc
sdd
sde
make the raid5 those all have to go to sdg

Since I am here and to be safe
Raid0
sda
sdb
should go to sdg as well.

Then once back ups are done, i need to rebuild this raid5, then bring the data from the external hd back to the raid 5 and I should be good to continue building my company.

Re: Partitioning Table Errors

Posted: 2019/02/06 06:24:09
by jmacdougca
If there is no UUID does it mean these drives have no data?
https://www.dropbox.com/s/bd64tbqgzxx97 ... 6.jpg?dl=0

Re: Partitioning Table Errors

Posted: 2019/02/09 22:23:07
by jmacdougca
Im running cento7 from usb.
I tried to add a label to a partition and got this issue,
Bag magic number in super block while trying to open /dev/sda

I am trying to back up my data to partition sdg2