after ZFS can not restore VTOC of disk..


 
Thread Tools Search this Thread
Operating Systems Solaris after ZFS can not restore VTOC of disk..
# 1  
Old 09-23-2008
Question after ZFS can not restore VTOC of disk..

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..Smilie
# 2  
Old 09-23-2008
Have not tried this in a while but should work. Use format -e, select the disk and label. When asked what type of label to use, select VTOC.
# 3  
Old 09-23-2008
thats very strange .. I played around this disk with soft partitions .. and now when this disk was used in SVM it found lost slice .. I cant understand what's going on
# 4  
Old 09-23-2008
You can use a disk or slice as either part of an SVM volume or as part of a ZFS storage pool. Do not use the same disk or slice in both an SVM and ZFS configuration.
Did you?Smilie
# 5  
Old 09-23-2008
Quote:
Originally Posted by incredible
You can use a disk or slice as either part of an SVM volume or as part of a ZFS storage pool. Do not use the same disk or slice in both an SVM and ZFS configuration.
Did you?Smilie

No no .. I don't use it either in zfs and SVM ..firstly I used it in zfs .. and after that i destroyed my zfs pool and I got my disk not as usual .. I lost 7 slice .. and than I post here how to recover it .. But after that I used it in SVM .. so it is in SVM after I destroyed zfs ..

I know that ZFS uses EFI label .. so Im trying to change it .
Ill return with results soon .. Smilie
# 6  
Old 09-23-2008
10x all ..
ZFS uses EFI label .. thats why when I get out disk from zfs pool it does not take its own default label .. All we need to do is format -e and label it SMI .. but does not permit me until I delete old EFI label ..so again format -e and fdisk ..there you will delete EFI label and label it by default Solaris partition Smilie

Thank all ..
# 7  
Old 11-29-2008
in solaris 10 ZFS uses a EFI disk in this type you cant see 7 slices if you want to SMI disk type format -e <disk>

then lable it you will get output like this
format> lable
[0] SMI Label
[1] EFI Label
Specify Label type[0]:

Press enter

and again lable this time it will not asked 0 or 1 you will get your 7 slice

Thanks
Smilie Pravin L
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. HP-UX

How to restore from disk?

Our new rx2800 server is running HP-UX 11iV3. We have a cron script to perform an fbackup to a file on disk nightly. Now I'm trying to do a test restore, but I can't seem to find the correct way to specify the backup file as the source in frecover. Can anyone point me in the right direction? ... (5 Replies)
Discussion started by: jduehmig
5 Replies

2. Solaris

Restore of Netapp FC lun targets used as the disks for a zpool with exported zfs file systems

So, We have a Netapp storage solution. We have Sparc T4-4s running with LDOMS and client zones in the LDOMS, We are using FC for storage comms. So here's the basic setup FC luns are exported to the primary on the Sparc box. using LDM they are then exported to the LDOM using vdisk. at the... (4 Replies)
Discussion started by: os2mac
4 Replies

3. Solaris

ZFS Slice disk

Hi, How to to make a slice and define as ufs from zpool? Please advice me. Thanks. ---------- Post updated at 01:53 AM ---------- Previous update was at 12:24 AM ---------- Before slice: Part Tag Flag Cylinders Size Blocks 0 root wm 0 ... (2 Replies)
Discussion started by: mzainal
2 Replies

4. AIX

Dd of disk contains vg and restore on another m/c

Hello gurus, I have a requirement of backup of a vg containing a file system. vg1 contains 3 LV each of 50G size. They are coming out from ~350G harddisk. and only 150G is being used. Now, i want to dd this hdisk and restore to another machine. I am not sure how to go about this. Can some... (3 Replies)
Discussion started by: abhishekdave
3 Replies

5. Solaris

Emergency - restore a deleted zfs snapshot

Hi, I deleted a zfs snapshot because it was as big as the original zfs. After the snapshot was removed, all the data in the original zfs is gone. How this happened? Can I restore the snapshot? Please help. Thanks a lot! (5 Replies)
Discussion started by: aixlover
5 Replies

6. Solaris

Local Full Backup and Restore ZFS

Hi men, I'm testing for my backup&restore job with ZFS. My server have two disks. I wanna do backup&restore job like ufsdump utility: Disk0 is rpool(root zpool) and disk1 (backup zpool) will be stored full backup replicates. When rpool zpool have problem, i can "boot cdrom -s" and use my... (5 Replies)
Discussion started by: tien86
5 Replies

7. Solaris

ZFS Restore Attempt

We currently have T2000 servers attached to Sun 3320 Storage Arrays. We run a database on the 3320 devices with the storage created through ZFS. We use 3 RAIDZ2 pools and then create our partitions from those. Now onto the question. If our T2000 fails and we swap out machines is there a way... (1 Reply)
Discussion started by: buckhtr77
1 Replies

8. Filesystems, Disks and Memory

Restore to disk from tape

I have been restoring from tape some old data. I have done quite a few tapes and have had no problems until now. The command I am running is "dd if=/dev/rmt/1hbn bs=1024 | tar -pBxF - ". This is the second tape have have come up with the error "Not enough space". This tape has a couple of... (1 Reply)
Discussion started by: mtoombs
1 Replies
Login or Register to Ask a Question