Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

after ZFS can not restore VTOC of disk.. 1

Status
Not open for further replies.

samariation

IS-IT--Management
Sep 15, 2008
11
GE
I tried to use zfs .. only for test ..so when I take my test disks into zfs pool their VTOC changed .. and 7th slice does not appear now. How can I restore default VTOC to my disks.

my machine is x86 .. SunFire X4200 .. so this disks do not have slices like sparc machines .. they have additionally 8 and 9 slices .. but except this I lost my 7th slice:

Part Tag Flag First Sector Size Last Sector
0 usr wm 34 136.72GB 286722909
1 unassigned wm 0 0 0
2 unassigned wm 0 0 0
3 unassigned wm 0 0 0
4 unassigned wm 0 0 0
5 unassigned wm 0 0 0
6 unassigned wm 0 0 0
8 reserved wm 286722911 8.00MB 286739294


.. So how I can restore my 9th and 7th slice ?

10x all..
 
I believe ZFS uses EFI labels rather than SMI so you may need to run format -e and then choose the disk and run label and follow the prompts.

format> label
[0] SMI Label
[1] EFI Label
Specify Label type[0]:


Hope this helps.

Alan
 
Ten kisses? A star might be more appropriate ;-)

I want to be good, is that not enough?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top