Sponsored Content
Full Discussion: Recover failed system disk
Operating Systems Solaris Recover failed system disk Post 302966391 by jj5406 on Thursday 11th of February 2016 03:29:30 PM
Old 02-11-2016
So far so good.

I knew the configuration of all of the disks from the raid controller setup screen (ctrl-a when booting). I had already removed the failed disk in order to put in a fresh one on which to put a new system (no free slots).

The raid controller must be smart enough because everything worked smoothly. I shut down the computer and pulled a known single-volume disk with not too much data on it (for which I had a complete backup as well) and inserted the failed disk into that slot. On boot, the controller detected the change and made a new configuration and came up just fine. I was able to mount the bad disk and copy everything off of it except for the contents of /usr/lib. This should effectively get me everything (config files, etc.) that I need to rebuild the system the way it was before. I copied the files off of the bad disk by rsyncing what I thought were the most important directories first (in case something bad should happen). After turning the computer off, re-inserting the disk that I had swapped out, and turning it back on again - the raid controller once again detected the change, did a reconfiguration and now everything looks as it did earlier today. I can see and mount all of the disks and access their data - except that now I also have a copy of everything that was on the old system disk (except for /usr/lib) from which I can (hopefully) get the system back into its pre-crash state.

Thanks.

-J

---------- Post updated at 01:57 PM ---------- Previous update was at 12:57 PM ----------

Apparently, I foolishly chose the default disk partitioning when installing the new system. Now / (slice 0) has very little space on it (6.4 GB), while the rest of the space on the disk (124 GB) is mounted as /export/home (slice 7).

So far, I've only made a few minor changes to /, and none to /export/home.
Is there any way to repartition the disk so that the whole thing is allocated to / in slice 0, or will I have to reinstall the system (again)?

User home directories are all on a separate disk anyway.

Thanks.

-J

---------- Post updated at 03:29 PM ---------- Previous update was at 01:57 PM ----------

FYI to anyone who might read this thread in the future:

I was actually able to increase the size of partition 0 to the full disk (except for the swap and boot sectors) by basically following the instructions at https://blogs.oracle.com/michel/entr...aris_partition (modified for my purposes) and running growfs. And it didn't even bork my system! I was prepared to have to reinstall Solaris.

However, I didn't think to first remove the line from my vsftab which attempts to mount the partition that I removed. This caused problems on boot and ended up requiring another reboot.

The system is probably not properly tuned. Of course, now that I have done it, it occurs to me that maybe swap should be much larger. This is what happens when you only do system management occasionally.

-J
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Scsi Disk Failed

My WS boot disk has failed so when i want to boot system (by OK boot -s or Ok boot disk0 ) i get these mesgs: disk read error boot :can not find misc/sparc9v/krtld boot:error loading interperetor (misc/sparc9v/krtld) Elf64 read error. boot failed. although it's probed ,finally i try... (1 Reply)
Discussion started by: nikk
1 Replies

2. HP-UX

How to recover Hp-ux O/S Disk from Mirro Disk

Hi All of my unix forum friends. I mirrored my hp-ux o/s disk with the help of LVM on a disk array. Can any one tell me the procedure if the O/S disk fails then how could i recover the system disk from mirrored disk Regards' Alam (5 Replies)
Discussion started by: waqaralam
5 Replies

3. UNIX for Dummies Questions & Answers

recover DIsk and make bootable

Hello all, I'm trying to recover from backup file to a new system with a new disk. I'm able to partition my new hard drive the same way as my old drive, but I'm unable to boot off of it. I have set the fdisk to toogle as a boot flag. But it does not seem to be working. Does anyone know how to... (4 Replies)
Discussion started by: larryase
4 Replies

4. UNIX for Dummies Questions & Answers

how to recover system file

Hi everyone I have a sun fire v880 server there having a system file problem it gets currupted. i haven't taken backup of that.i want to recover system file. i have not any tape drive ,CDDRIVE & machine is also not in network. so how i can recover system file. Is there any procedure for that or... (1 Reply)
Discussion started by: pshelke
1 Replies

5. Solaris

How to replace failed disk?

Dear all Please can any one explain me how to replace failed disk in Solaris 10. Please tell me the step by step procedure. (9 Replies)
Discussion started by: suneelieg
9 Replies

6. Solaris

How to recover root file system

Please can anyone explain me how to take a backup of root file system and how to recover it if it is corrupted. please explain me in detail (1 Reply)
Discussion started by: suneelieg
1 Replies

7. SCO

Recover data from failed Hard disk in SCO OpenServer 5.06

One hard disk fail to mount (/dev/data). I had run "fsck /dev/data" then some error occured "unrecoverable error reading SCSI Disk 1 dev 1/104". I need to recover data from disk. please help. (1 Reply)
Discussion started by: rakeshkumar9919
1 Replies

8. Solaris

recover a corrupted solaris10 system /usr/lib

did something very dump under /usr/lib, eg: overwite a bunch of files from a similar system's /usr/lib, while the system is live.. I have no backup on this..it crashed...and came up with a bunch of device driver load errors and hung... This is Solaris10 update 7 .. I wonder if I could do a... (0 Replies)
Discussion started by: ppchu99
0 Replies

9. Solaris

Failed to recover root password in Solaris 10 on Sparc CPU Sun Ultra10

Failed to recover lost root password for Solaris SunSparc (On Sun Ultra10 - SPARC CPU Hardware, not x86 Intel CPU nor x64 AMD CPU) This Sun Ultra10 workstation comes with an old 6-in wafer probing station purchased from a Surplus equipment vendor. Computer: Sun Ultra 5/10 UPA/PCI... (21 Replies)
Discussion started by: fromtexas0
21 Replies

10. Solaris

Need to recover/move diskgroup from failed host to another host

Hi All I am having VxVm on two Solaris hosts. host1 is using disk group dgHR. right now this server went down due to hardware fault. Not I need to import this dgHR into host2 server. Please let me know the procedure for the same. (1 Reply)
Discussion started by: amity
1 Replies
HOME(8) 						      System Manager's Manual							   HOME(8)

NAME
home, 40meg, 80meg, personalize, update, Disclabel - administration for local file systems SYNOPSIS
gnot/home gnot/personalize gnot/update magnum/home magnum/personalize magnum/update pc/40meg pc/80meg pc/personalize pc/update nextstation/home nextstation/update DESCRIPTION
These programs help maintain a file system on a local disk for a private machine. Home partitions a disk, copies the appropriate kernel to the disk, and makes a new file system on the disk. To do this, it overwrites the vendor-supplied software on the disk with a copy of Plan 9. 40meg, 80meg, and 100meg configure disks and make file systems for disks of the appropriate size. Update copies the current kernel to the disk and updates files on the local file system. It only updates those files put there by the home program. Personalize removes the contents of the /usr directory on the local disk and copies a minimal set of files for the user who runs the com- mand. The file /rc/bin/nextstation/Disclabel, despite its name, is not an rc(1) script. It contains the second stage bootstrap program for Nextstations booting from local disk. Before booting a Plan 9 Nextstation from disk, it should be installed in the partition /dev/hd1label; this is normally done by nexstation/home. FILES
/lib/proto/portproto Mkfs prototype files for magnum/home, magnum/update, gnot/home, and gnot/update. /lib/proto/386proto Mkfs prototype files for pc/40meg, pc/80meg, and pc/update. SOURCE
/rc/bin/gnot/* /rc/bin/magnum/* /rc/bin/pc/* /rc/bin/nextstation/* SEE ALSO
kfs(4), mkfs(8), prep(8), wren(3) ``Installing the Plan 9 Distribution''. HOME(8)
All times are GMT -4. The time now is 02:07 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy