Error Writing Vtoc Solaris
I have been doing this on HP EVA array. It was pretty straight forward: Grow the LUN on the array itself On the server vtoc solaris 10 use type subcommand of the format utility and Autoconfigure the LUN in question solaris vtoc label - this where the OS will detect the size increase Grow the filesystem Of course, there are more steps warning error writing vtoc. label failed if the LUN is mirrored, but I will leave that out. For some reason when I tried to Autoconfigure the LUN on Clariion format would refuse to replace the VTOC, coming back with the following error: Continue labelling disk? yes
Warning: error writing VTOC.
Warning: no backup labels
Label failed. After a while of trying this and trying that, I got nowhere. I tried searching the web, but the search was not coming up with anything useful. Some people suggested it was a bug in format utility, some installed a different update of Solaris 10, others apparently got it work by booting into single user. None of this was acceptable. The whole point of the exercise is to do this as efficiently as possible with the smallest amount of disruption to service. So no, I will not boot into single user mode. Finally I decided to zero out VTOC, before running format command to Autoconfigure the LUN: bash-3.00# dd if=/dev/zero of=/dev/rdsk/c4t6006016076011F00A83040728E6EDF11d0s2 bs=512 count=1 Sure enough, that worked and I successfully grew the LUN. What bugs me is that the procedure worked fine on EVA array. Sure, it is not exactly the same situation - different hardware, etc. But I do not think I should have to manually zero out VTOC to write a new one, when connected to Clariion. Maybe someone has a definite answer to this? Posted on July 19, 2010 at 10:33 by somedude ยท Permalink In:clariion, mpxio, multipathing, san, solaris, solaris tips, storage Leave a Reply Name, required Email (will not be published), required Website, if present Notify me of follow-up comments by email. Notify me of new posts by email. Cancel reply « Previous post Next post » Ca
known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle. Search Forums Show Threads Show Posts Tag Search Advanced Search Unanswered Threads Find All Thanked Posts Go to Page... unix and linux operating commands label a slice on disk erorr Solaris Thread Tools Search this Thread Display Modes #1 02-10-2012 newbi8321 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 http://www.unixpowered.com/unixpowered/2010/07/19/solaris-10-vtoc-weirdness-on-emc-clariion-array/ 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 - http://www.unix.com/solaris/176614-label-slice-disk-erorr.html 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. Remove advertisements Sponsored Links newbi8321 View Public Profile Find all posts by newbi8321 #2 02-10-2012 cerber0 Registered User Join Date: Nov 2008 Last Activity: 18 September 2016, 8:30 AM EDT Location: Mexico DF Posts: 46 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) Remove advertisements Sponsored Links cerber0 View Public Profile Find all posts by cerber0 #3 02-10-2012 rua 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) Remove advertisements Sponsored Links rua View Public Profile Find all posts by rua <
von GoogleAnmeldenAusgeblendete FelderNach Gruppen oder Nachrichten suchen