Unix/Linux Go Back    


Solaris 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

Solaris


Closed    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 02-10-2012   -   Original Discussion by newbi8321
newbi8321's Unix or Linux Image
newbi8321 newbi8321 is offline
Registered User
 
Join Date: Feb 2012
Last Activity: 25 November 2013, 9:48 AM EST
Posts: 3
Thanks: 5
Thanked 0 Times in 0 Posts
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. Linux
Sponsored Links
    #2  
Old Unix and Linux 02-10-2012   -   Original Discussion by newbi8321
cerber0's Unix or Linux Image
cerber0 cerber0 is offline
Registered User
 
Join Date: Nov 2008
Last Activity: 3 April 2018, 2:08 AM EDT
Location: Mexico DF
Posts: 47
Thanks: 0
Thanked 5 Times in 5 Posts
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)
Sponsored Links
    #3  
Old Unix and Linux 02-10-2012   -   Original Discussion by newbi8321
rua's Unix or Linux Image
rua rua is offline
Registered User
 
Join Date: Jul 2010
Last Activity: 13 February 2015, 1:14 AM EST
Posts: 7
Thanks: 0
Thanked 1 Time in 1 Post
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)
Sponsored Links
Closed

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
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



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