Visit The New, Modern Unix Linux Community


Reinstall root partition


 
Thread Tools Search this Thread
Operating Systems Solaris Reinstall root partition
# 1  
Reinstall root partition

I had Solaris 8 installed on a Ultra 10 machine but during a shutdown the root partition got corrupted. I have 3 other partitions on the drive (var, swap, home). Is there a way to reinstall the root partition without effecting the other partitions?

Also, when I run format from single user mode I get an error:

WARNING: /pci@1f,0/pci@1,1/ide@3/dad@0,0 (dad0):
Uncorrectable data Error: Block 1

DIOCTL_RWCMD: I/O error

Ready to get manufacturer's defect list from unformatted drive.
This cannot be interrupted and takes a long while.
Continue? n
[disk unformatted, no defect list found]


The disk must be formatted because I can mount the partitions. Should I say yes to getting the manufacturer's defect list?

Thanks
Jason
# 2  
Quote:
Originally Posted by jbestor
I had Solaris 8 installed on a Ultra 10 machine but during a shutdown the root partition got corrupted. I have 3 other partitions on the drive (var, swap, home). Is there a way to reinstall the root partition without effecting the other partitions?

Also, when I run format from single user mode I get an error:

WARNING: /pci@1f,0/pci@1,1/ide@3/dad@0,0 (dad0):
Uncorrectable data Error: Block 1

DIOCTL_RWCMD: I/O error

Ready to get manufacturer's defect list from unformatted drive.
This cannot be interrupted and takes a long while.
Continue? n
[disk unformatted, no defect list found]


The disk must be formatted because I can mount the partitions. Should I say yes to getting the manufacturer's defect list?

Thanks
Jason
Rebuild os image on separate disk, mount old partitions, and cp data to new disk. You always want to use a mirrored root disk to avoid this senario. Disk Suite can be used as a cheap solution or veritas vm for a enterprise solution.
# 3  
Quote:
Originally Posted by mhm4
Rebuild os image on separate disk, mount old partitions, and cp data to new disk. You always want to use a mirrored root disk to avoid this senario. Disk Suite can be used as a cheap solution or veritas vm for a enterprise solution.
Thanks. I inherited the machine and a mirror would have been very nice. Should I do anything about the error that occurs when running format or will that go away after I cp the data?
# 4  
So I rebuilt the os on a separate disk(c0t1d0). I booted into single user mode from the cd, tried to create a new file system on the old disks root partition (c0t0d0s0). When I do I get an error:

newfs /dev/rdsk/c0t0d0s0
WARNING: /pci@1f,0/pci@1,1/ide@3/dad@0,0 (dad0):
offline

dad0: disk okay
newfs: construct a new file system /dev/rdsk/c0t0d0s0: (y/n)? y
WARNING: /pci@1f,0/pci@1,1/ide@3/dad@0,0 (dad0):
Uncorrectable data Error: Block 10

WARNING: /pci@1f,0/pci@1,1/ide@3/dad@0,0 (dad0):
disk not responding to selection

read error on sector 16: I/O error
WARNING: /pci@1f,0/pci@1,1/ide@3/dad@0,0 (dad0):
offline


I still get the error mentioned in my first post when I run the format command.
Any enlightenment would be much appreciated
Thanks
Jason
# 5  
Quote:
Originally Posted by jbestor
So I rebuilt the os on a separate disk(c0t1d0). I booted into single user mode from the cd, tried to create a new file system on the old disks root partition (c0t0d0s0). When I do I get an error:

newfs /dev/rdsk/c0t0d0s0
WARNING: /pci@1f,0/pci@1,1/ide@3/dad@0,0 (dad0):
offline

dad0: disk okay
newfs: construct a new file system /dev/rdsk/c0t0d0s0: (y/n)? y
WARNING: /pci@1f,0/pci@1,1/ide@3/dad@0,0 (dad0):
Uncorrectable data Error: Block 10

WARNING: /pci@1f,0/pci@1,1/ide@3/dad@0,0 (dad0):
disk not responding to selection

read error on sector 16: I/O error
WARNING: /pci@1f,0/pci@1,1/ide@3/dad@0,0 (dad0):
offline


I still get the error mentioned in my first post when I run the format command.
Any enlightenment would be much appreciated
Thanks
Jason
I am not sure but I think you lost the disk.

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #402
Difficulty: Medium
The term 3D printing originally referred to a powder bed process employing standard and custom inkjet print heads.
True or False?

10 More Discussions You Might Find Interesting

1. Ubuntu

Regarding OS partition and root user

Dear Concern, I am new in ubuntu. Is root user disable in ubuntu? Also, is os partition default in ubuntu? I don't find any feature to create customize mount point to install OS. Below is my current OS partition. amirislam@blnidapp03:~$ df -h Filesystem Size Used... (1 Reply)
Discussion started by: makauser
1 Replies

2. SCO

Resize root partition

I have SCO Openserver 5.0.5 Root partition is 96% full and I would like to make it bigger. How can this be done? 1) Can I use 'dd' to backup 'root' and then backup '/u' to a third hard disk, then divvy the primary hard disk to have a larger 'root' filesystem (i.e. previous root + u) 2) ... (5 Replies)
Discussion started by: grips03
5 Replies

3. Linux

How to increase root space from another partition?

Hi OS Experts I would like to increase root partition from another partition so that I can save more documents in Home and Desktop. whether it is possible without formating root partition if so please explain here is o/p of df -h Filesystem Size Used Avail Use% Mounted on /dev/sda9... (8 Replies)
Discussion started by: Akshay Hegde
8 Replies

4. Solaris

Cannot tell what is filling up root (/) partition on Sol10

I can see that my root partition is down to single-digit GB free out of 134GB root partition on a larger server with many SAN, NFS, LOFS mounts etc mounted at the root (/) partition. How can I specifically tell which directories is causing the most utilization in my root (/) partition? (3 Replies)
Discussion started by: ckmehta
3 Replies

5. Solaris

Need to partition root

Hello guys, I am using Solaris 10 x86 OS. While installing OS i have allocated entire 10 GB space to the root. Now i am not able to create new partition it says me "out of range" or "<cylinder number> not expected". Can someone please help me to allocated a default recommended space i.e 8GB or... (2 Replies)
Discussion started by: bhargav90
2 Replies

6. Solaris

Root partition filling up

I have a T1000 Sparc server that has a relatively small root partition which is 24Gb and a larger partition dedicated to /export/home that is approximately 100 Gb. We have a lot of data going to /var/audit and to /var/core/corefiles. Is there any non-destructive way to redirect files from... (4 Replies)
Discussion started by: goose25
4 Replies

7. Red Hat

increase root partition

i am using redhat 5.4 and my root size shows 98 %, how can i increase root size # df -h Filesystem Size Used Avail Use% Mounted on /dev/sda2 77G 16G 75G 98% / /dev/sda1 2.4G 82M 2.2G 4% /boot tmpfs 3.8G 0 3.8G 0%... (8 Replies)
Discussion started by: reply.ravi
8 Replies

8. Solaris

increasing root / partition

Dear all, I have a root partition which is 20 G in size. I have var and /tmp as seperate file systems. But this 20 G of root is not sufficeint. I want to increase the size of the / partition. Is there any way to increase with out down time. my df -k output is Filesystem ... (4 Replies)
Discussion started by: jegaraman
4 Replies

9. Solaris

Can't metattach root partition

I'm mirroring up a T2000. Able to metainit and metattach all partitions with the exception of root. Getting the following error: metattach: <hostname>; c1t1d0s0; is mounted on / I'm stumped. By the way, target 1 is the boot disk. (7 Replies)
Discussion started by: Probos
7 Replies

10. Shell Programming and Scripting

Disk space for root partition

Hello, I am trying to monitor disk space for each node on the machine. I am able to get all individual nodes but for the '/' node. For example: df -k: bash-2.05b# df -k Filesystem 1K-blocks Used Available Use% Mounted on /dev/xxx 4127108 2415340 1502120 62% / /dev/yyy ... (3 Replies)
Discussion started by: chiru_h
3 Replies

Featured Tech Videos