Home Man
Search
Today's Posts
Register

The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle.

label a slice on disk erorr

Tags
solaris

👤 Login to reply

 
Thread Tools Search this Thread
# 1  
Old 02-10-2012
label a slice on disk erorr

Hi there,

I am trying to do root volume mirroring on SunFire V210 server. I have two disks in it.First one is c1t0do and second one is c1t1do. Both disks already have partitions in them so I am deleting the partitions of second disk(c1t1do) using format command and selecting cylinder start 0 and size 0mb. When I do the same on partition 6 I could not able to label the partition 6 and its shows an error. Please help me . Thanks in advance.

Code:
partition> 6
Part      Tag    Flag     Cylinders        Size            Blocks
  6 unassigned    wm    4027 - 4047      104.34MB    (21/0/0) 213696

Enter partition id tag[unassigned]:
Enter partition permission flags[wm]:
Enter new starting cyl[4027]: 0
Enter partition size[213696b, 21c, 20e, 104.34mb, 0.10gb]: 0mb
partition> label
Ready to label disk, continue? y

Warning: error writing VTOC.
Warning: no backup labels
Label failed.

---------- Post updated at 11:01 PM ---------- Previous update was at 10:42 PM ----------

Solution : You should never make size of slice 2 0mb.
# 2  
Old 02-10-2012
I think that you should not delete the slice 2 (backup partition),

this partition normally contains all space on disk.
The Following User Says Thank You to cerber0 For This Useful Post:
newbi8321 (02-10-2012)
# 3  
Old 02-10-2012
just copy Vtoc to second disk:
Code:
prtvtoc /dev/rdsk/c1t0d0s2 | fmthard -s - /dev/rdsk/c1t1d0s2

The Following User Says Thank You to rua For This Useful Post:
newbi8321 (02-10-2012)
👤 Login to reply

« Previous Thread | Next Thread »
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
ZFS Slice disk mzainal Solaris 2 04-29-2015 05:13 AM
Trouble creating a disk partition slice (EFI) selectstar Solaris 2 03-26-2015 07:00 AM
Script to label a disk prashant2507198 Solaris 2 01-25-2013 06:07 AM
ZFS - whole disk Vs slice robsonde Solaris 1 05-04-2012 04:35 AM
How to read a disk label? chebarbudo UNIX for Dummies Questions & Answers 2 10-01-2010 07:49 AM
Help:"Bad checksum in disk label" and "Can't open disk label package"? Resadija Solaris 6 03-29-2010 12:38 PM
ZFS disk label missing fugitive Solaris 0 06-29-2009 06:14 AM
Ways to analyse root disk slice Sapfeer Solaris 3 03-19-2009 04:46 AM
Warning: No Disk Label o51974 Solaris 2 09-11-2007 04:11 PM
Cannot label disk when partitions are in use as described XNOR UNIX for Dummies Questions & Answers 2 04-23-2007 06:54 PM


All times are GMT -4. The time now is 05:21 AM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.
UNIX.COM Login
Username:
Password:  
Show Password