Scarpozzi
Lifer
So....I've been called to swoop in and save the day on a server that I didn't setup. I'm only playing detective and trying to figure out how it was setup so I can try to come up with a fix. I need help trying to figure out the best way to go about fixing the issue.
I work for a Dell shop and have only worked with Dell/IBM servers for the past 12 years. I know very little about HP.
This is an HP Proliant server that boots to Grub 1.5 - Error 17. It will not boot to the local file system, but I was able to boot to a live cd and run fdisk -l. HP Smartarray is a driver set that relabels /dev/sda /dev/sda1 /dev/sda2.../dev/sda5
On /dev/sda, it's relabelled /dev/cciss/c0d0 and partitions are /dev/cciss/c0d0p1-p5.
p1 = is mapped somehow in fstab to /state/partition1. I believe this partition contains /boot and /etc becuase they don't show up in p2, whcih appears to be /.
p3 is swap
p4 and p5 appear to be multipathed copies of the same partition. I was only able to mount one of the two for some reason.
When I attempt to mount /dev/cciss/c0d0p1, I get the wrong filesystem or bad superblock error. I tried picking a different superblock with fsck and had no luck.
I was told by the admin that did the damage that he ran fsck on the system and rebooted. I don't know what switches he ran, but am thinking he did something to wipe that /state/partition1 or /dev/cciss/c0d0p1.
Got any cool tips for trying to restore a partition. The admin in charge of the system does not have backups for the system (never paid for them) and I would prefer not to resort to a OS reinstall to replace /boot and /etc. I fear that it would remove most of his config and he'll be knocking on my door more down the road.
I work for a Dell shop and have only worked with Dell/IBM servers for the past 12 years. I know very little about HP.
This is an HP Proliant server that boots to Grub 1.5 - Error 17. It will not boot to the local file system, but I was able to boot to a live cd and run fdisk -l. HP Smartarray is a driver set that relabels /dev/sda /dev/sda1 /dev/sda2.../dev/sda5
On /dev/sda, it's relabelled /dev/cciss/c0d0 and partitions are /dev/cciss/c0d0p1-p5.
p1 = is mapped somehow in fstab to /state/partition1. I believe this partition contains /boot and /etc becuase they don't show up in p2, whcih appears to be /.
p3 is swap
p4 and p5 appear to be multipathed copies of the same partition. I was only able to mount one of the two for some reason.
When I attempt to mount /dev/cciss/c0d0p1, I get the wrong filesystem or bad superblock error. I tried picking a different superblock with fsck and had no luck.
I was told by the admin that did the damage that he ran fsck on the system and rebooted. I don't know what switches he ran, but am thinking he did something to wipe that /state/partition1 or /dev/cciss/c0d0p1.
Got any cool tips for trying to restore a partition. The admin in charge of the system does not have backups for the system (never paid for them) and I would prefer not to resort to a OS reinstall to replace /boot and /etc. I fear that it would remove most of his config and he'll be knocking on my door more down the road.