search for: fmthard

Displaying 15 results from an estimated 15 matches for "fmthard".

2010 Jan 17
2
Root Mirror - Permission Denied
I have a system that I''m trying to bring up with a mirrored rpool. I''m using DarkStar''s ZFS Root Mirror blog post as a guide (http://darkstar-solaris.blogspot.com/2008/09/zfs-root-mirror.html). When I get to step 3 I execute: pfexec prtvtoc /dev/rdsk/c7d0s2 | fmthard -s - /dev/rdsk/c7d1s2 I get: fmthard: Cannot open device /dev/rdsk/c7d1s2 - Permission denied Any ideas as to what i might be doing wrong here? Thanks, Brian -- This message posted from opensolaris.org
2009 Oct 27
2
root pool can not have multiple vdevs ?
...ffer, that are not used at the moment. So I''d like to add in a mirror of c1t1d0 and c1t4d0 : # zpool add -f neptune_rpool c1t1d0 cannot label ''c1t1d0'': EFI labeled devices are not supported on root pools. OKay .. I can live with that. # prtvtoc -h /dev/rdsk/c1t0d0s0 | fmthard -s - /dev/rdsk/c1t1d0s0 fmthard: New volume table of contents now in place. # prtvtoc -h /dev/rdsk/c1t0d0s0 | fmthard -s - /dev/rdsk/c1t4d0s0 fmthard: New volume table of contents now in place. # zpool add -f neptune_rpool c1t1d0s0 cannot add to ''neptune_rpool'': root pool can n...
2010 Nov 29
3
mirrored drive
OK, I''ve got a proble I can''t solve by myself. I''ve installed solaris 11 using just one drive. Now I want to create a mirror by attached a second one tot the rpool. However, the first one has NO partition 9 but the second one does. This way the sizes differ if I create a partiotion 0 (needed because it''s a boot disk).. How can I get the second disk look
2011 Jul 22
4
add device to mirror rpool in sol11exp
In my new oracle server, sol11exp, it''s using multipath device names... Presently I have two disks attached: (I removed the other 10 disks for now, because these device names are so confusing. This way I can focus on *just* the OS disks.) 0. c0t5000C5003424396Bd0 <SEAGATE-ST32000SSSUN2.0-0514 cyl 3260 alt 2 hd 255 sec 252> /scsi_vhci/disk at g5000c5003424396b
2007 May 31
3
zfs boot error recovery
hi all, i would like to ask some questions regarding best practices for zfs recovery if disk errors occur. currently i have zfs boot (nv62) and the following setup: 2 si3224 controllers (each 4 sata disks) 8 sata disks, same size, same type i have two pools: a) rootpool b) datapool the rootpool is a mirrored pool, where every disk has a slice (the s0, which is 5 % of the whole disk) and this
2011 Dec 15
31
Can I create a mirror for a root rpool?
On Solaris 10 If I install using ZFS root on only one drive is there a way to add another drive as a mirror later? Sorry if this was discussed already. I searched the archives and couldn''t find the answer. Thank you.
2008 Jun 17
6
mirroring zfs slice
Hi All, I had a slice with zfs file system which I want to mirror, I followed the procedure mentioned in the amin guide I am getting this error. Can you tell me what I did wrong? root # zpool list NAME SIZE USED AVAIL CAP HEALTH ALTROOT export 254G 230K 254G 0% ONLINE - root # echo |format Searching for disks...done
2011 Jul 04
0
Problems installing grub
Hi all One of the rpool drives on this server died the other day, so I got a replacement that was 1 cylinder larger (60798 vs 60797). Still, I tried prtvtoc /dev/rdsk/c7d0s2 | fmthard -s - /dev/rdsk/c6d0s2 zpool replace worked and the pool resilvered within a few minutes. Now, installing grub fails. root at prv-backup:~# installgrub /boot/grub/stage1 /boot/grub/stage2 /dev/rdsk/c6d0s0 Partition 0 of the disk has an incorrect offset Unable to gather device information for /dev/...
2010 May 28
21
expand zfs for OpenSolaris running inside vm
...AME STATE READ WRITE CKSUM rpool ONLINE 0 0 0 c7d0s0 ONLINE 0 0 0 errors: No known data errors # zpool add rpool c7d1 cannot label ''c7d1'': EFI labeled devices are not supported on root pools. # prtvtoc /dev/rdsk/c7d0s0 | fmthard -s - /dev/rdsk/c7d1s0 fmthard: New volume table of contents now in place. # zpool add rpool c7d1s0 invalid vdev specification use ''-f'' to override the following errors: /dev/dsk/c7d1s0 overlaps with /dev/dsk/c7d1s2 # zpool add -f rpool c7d1s0 cannot add to ''rpool'&...
2011 Jan 28
2
ZFS root clone problem
(for some reason I cannot find my original thread..so I''m reposting it) I am trying to move my data off of a 40gb 3.5" drive to a 40gb 2.5" drive. This is in a Netra running Solaris 10. Originally what I did was: zpool attach -f rpool c0t0d0 c0t2d0. Then I did an installboot on c0t2d0s0. Didnt work. I was not able to boot from my second drive (c0t2d0). I cannot remember
2007 Dec 03
2
Help replacing dual identity disk in ZFS raidz and SVM mirror
Hi, We have a number of 4200''s setup using a combination of an SVM 4 way mirror and a ZFS raidz stripe. Each disk (of 4) is divided up like this / 6GB UFS s0 Swap 8GB s1 /var 6GB UFS s3 Metadb 50MB UFS s4 /data 48GB ZFS s5 For SVM we do a 4 way mirror on /,swap, and /var So we have 3 SVM mirrors d0=root (sub mirrors d10, d20, d30, d40) d1=swap (sub mirrors d11, d21,d31,d41)
2008 Oct 19
9
My 500-gig ZFS is gone: insufficient replicas, corrupted data
Hi, I''m running FreeBSD 7.1-PRERELEASE with a 500-gig ZFS drive. Recently I''ve encountered a FreeBSD problem (PR kern/128083) and decided about updating the motherboard BIOS. It looked like the update went right but after that I was shocked to see my ZFS destroyed! Rolling the BIOS back did not help. Now it looks like that: # zpool status pool: tank state: UNAVAIL status:
2008 Nov 16
8
Mirror and RaidZ on only 3 disks
...c4t0d0s0, where rpool lives -- instead of c4t0d0p2; funny "zpool create" didn''t complain?) 3) One problem I don''t understand why I got is this: When I attach a new virgin disk to the system, I first run format->fdisk to make two fdisk partitions and then use prtvtoc/fmthard to create the splices on the solaris partition. When I then try to attach the new c4t1d0s0 to the existing c4t1d0s0, zpool complains that only complete disks can be attached. However, after a reboot, the slice attaches without problems (except that I have to use -f since c4t1d0s0 overlaps with c4t1...
2008 Aug 26
5
Problem w/ b95 + ZFS (version 11) - seeing fair number of errors on multiple machines
...0 292993470 292993469 8 1 01 0 16065 16064 ormandj at neutron.corenode.com:~$ These are root pools, and this is the method in which they were created: #1 - Partition first drive during installation. #2 - Once OSOL was installed: prtvtoc /dev/rdsk/c6d0s0 | fmthard -s - /dev/rdsk/c7d0s0 #3 - zpool attach rpool c6d0s0 c7d0s0 #4 - installgrub /boot/grub/stage1 /boot/grub/stage2 /dev/rdsk/c6d0s0 #5 - installgrub /boot/grub/stage1 /boot/grub/stage2 /dev/rdsk/c7d0s0 Anybody have any ideas? I''d blame failing hardware, but this started happening on 3 diffe...
2010 Nov 23
14
ashift and vdevs
zdb -C shows an shift value on each vdev in my pool, I was just wondering if it is vdev specific, or pool wide. Google didn''t seem to know. I''m considering a mixed pool with some "advanced format" (4KB sector) drives, and some normal 512B sector drives, and was wondering if the ashift can be set per vdev, or only per pool. Theoretically, this would save me some size on