Hi all,
I am trying to use the disk for mirror where in the mirror disk is of 160 gb and the rootdisk is of 80 gb. when i am trying to write the vtoc i am getting below error
i tried the below command
#prtvtoc /dev/rdsk/c0t0d0s0 |fmthard -s -/dev/rdsk/c0t2d0s0
and got below
fmthard : Partition 2 specifies the full disk and its not equal
full size of disk. the full disk capacity is 267374640 sectors
what can be done apart from manually slicing the second disk
Thanks
Post the output of prtvtoc for both disks. Also do you want to simply ignore the send half of the second disk...that it pretend that it is 80 GB?
Please find the output of prtvtoc
Please find the output of prtvtoc
Second Disk
you can try this? :o
#prtvtoc /dev/rdsk/c0t0d0s0 |fmthard -s - /dev/rdsk/c0t2d0s0
That's i what i tried, however no luck
Did you label your 2nd disk first?
No i did't, as there is nothing
seg
January 17, 2009, 1:37pm
8
he was pointing out a typo
Original:
-/dev/rdsk/c0t2d0s0
Fixed:
label your disk 1st using the format utility and then try again
seg, you're slow just now he didn't even had the "-", then he edited that
Thanks incredible! That's true it was not in the post
I just labeled it and then tried however same error
seg
January 17, 2009, 1:42pm
12
haha, doh! just started the daily forum browsing.
OP: look i think you're going about this whole thing the wrong way. If both drivers were the same size and vendor then a copy of the partition table (using slize 2!) would be fine, but given the situation as I understand it you should just run format and manually set the partition table to match as needed. It's not terribly complicated.
prtvtoc /dev/rdsk/c0t0d0s2 | fmthard -s - /dev/rdsk/c0t2d0s2
should work!
Thanks seg, that there in mind, however just thought if i can get some help from experts here
seg
January 17, 2009, 1:48pm
15
I'm not sure I understand the tone or goal of that post. Do you think I am incorrect in recommending a manual partition layout?
Im sleepy here man, no wonder cannot "see and think"
I am sorry Incredible , its not working working .
I just got to the see the below waring in dmesg " Corrupt label; wrong magic number " for the new disk.
is this one is the culprit ?????
Sure , we can also do a manula partition layout if command-line is freaking us out.. hehehe
seg
January 17, 2009, 1:50pm
19
That drive needs a label. Use format.
No seg, i am saying that's there in mind i was thinking if fmarhard work then well and good if not of course we have manual option