Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.
Trending News
I lost my super block in SUSE Linux?
I lost my super block in SUSE Linux and I tried to run fsck with the backup superblock but it didn't work. I have /home on a raid 5 over 4 drives and the rest of the file system on a raid 0 over the same 4 drives. I thought it would be bullet proof until it crashed. is there anyway to salvage my data on the /home
My RAID5 /home seems to be intact. My problem is that /(everything else) won't mount. It will boot it just won't mount root. If I reinstall will I be able to get to the home directories to rescue my data?
1 Answer
- mr. cLv 61 decade agoFavorite Answer
could be a case of http://en.wikipedia.org/wiki/RAID_5#RAID_5_disk_fa...
but replacing the drive with the defective block should allow raid to rebuild the missing information from the other three disks.
your question isn't clear:
is the corrupt block on /home or on / ?
if later, simply reinstall openSUSE and choose to mount /home during install (choose advanced disk configuration) without formating it.
if the corrupt block is on /home, unless you have a backup...
ADDITIONAL - reinstall
three things:
-1-
you can reinstall only / (root & all);
to do so, start the install, preferably the same version as already was installed
accept the license & a couple more things
when PARTITIONING comes, click custom and then Advanced (possibly also Expert only or so)
select the same disks / volumes for / (root & all) that you have now & click Edit
choose to FORMAT (only for / (root & all) /!\), pick / in mount as & OK
select disks / volume that are your /home now & click on Edit
do ##NOT## choose format (of course; it isn't by default) but simply mount as /home & OK
Accept & carry on with install
-2-
even though install is most likely to go well, chances are that the sector which went bad is physically damaged & will thus soon corrupt your / (root & all) AGAIN ====>>>> 1st thing burn whatever (important) data you have on /home to DVD (or copy it to an external / USB hard disk 'cuz
-3-
depending on how the / (root & all) is spread over the same disks then the /home it may or may not be possible to exchange easily the faulty disk, but, SOONER (or later) the bad sector will become allocated again; maybe to a silly readme or document you never going to need & you won't be bothered by it, but if the bad sector is used by a file belonging to the kernel or X.org, you won't be able to boot / mount / startx, again
===>>> once you have burnt all your data to DVD or copied it , replace the faulty disk; personally, i have had workstation / server motherboard with build in RAID controllers for years and always used them as NON-RAID; the only way to use RAID in a meaningful way is to have an external disk array with a dedicated (iSCSI) controller. anything else is nonsense. use your four HDs as FOUR HDs, putting / (including /home /opt aso.) on one, /usr on a 2nd & the 3rd one for your own data copy / home backup; and you might even keep the 4th HD for testing new releases or keeping an XP partition. RAID on a home system is meaningless.
and backup your (important) data to DVD/RW; they are so cheap, nowadays...
just my 2 cents...
PS: in case -1- doesn't work (bad sector gets written to during install & system still won't start 8-X :@ ):
download SystemRescueCD from http://sourceforge.net/project/showfiles.php?group...
i have been using version 0.4.3 for yrs; never bothered moving to 1.0 because 0.4.3 has everything i need, but you'll need 1.0 because only 1.0 has RAID support :-/
burn to CD (200 MB) & boot from it
once you are started
HH:MM > ls -l /dev/## name of your home vol.grp. / name of your home volume##
## if you see this okay (no error msg)
HH:MM > mkdir /mnt/my_home
HH:MM > mount /dev/## name of your home vol.grp. / name of your home volume## /mnt/my_home
# system rescue CD support burning to DVD, but you might want to buy an USB disk just for that
# to see the device of the USB HD
HH:MM > ls -l /dev/sd*
# it should be the last one, e.g. /dev/sde1
HH:MM > mkdir /mnt/usb
HH:MM > mount /dev/sde1 /mnt/usb
HH:MM > mc
# mc / midnight commander is a Norton Commander like file manager that will allow you to copy easily the content of your /home to the USB HD
(select /mnt/my_home on the left, /mnt/usb on the right, select everything on the left & press F5 to copy it to the right
et voilà