hello folks, I am running Solaris 10 U3 and I have small problem that I dont 
know how to fix...

I had a pool of two drives:

bash-3.00# zpool status
   pool: mypool
  state: ONLINE
  scrub: none requested
config:

         NAME          STATE     READ WRITE CKSUM
         mypool        ONLINE       0     0     0
           emcpower0a  ONLINE       0     0     0
           emcpower1a  ONLINE       0     0     0

errors: No known data errors

I added another drive

so now I have pool of 3 drives

bash-3.00# zpool status
   pool: mypool
  state: ONLINE
  scrub: none requested
config:

         NAME          STATE     READ WRITE CKSUM
         mypool        ONLINE       0     0     0
           emcpower0a  ONLINE       0     0     0
           emcpower1a  ONLINE       0     0     0
           emcpower2a  ONLINE       0     0     0

errors: No known data errors

everything is great but I've made a mistake and I would like to remove 
emcpower2a from my pool and I cannot do that...

Well the mistake that I made is that I did not format my device correctly so 
instead of adding 125gig I added 128meg

here is my partition on that disk:
partition> print
Current partition table (original):
Total disk cylinders available: 63998 + 2 (reserved cylinders)

Part      Tag    Flag     Cylinders         Size            Blocks
   0       root    wm       0 -    63      128.00MB    (64/0/0)       262144
   1       swap    wu      64 -   127      128.00MB    (64/0/0)       262144
   2     backup    wu       0 - 63997      125.00GB    (63998/0/0) 262135808
   3 unassigned    wm       0                0         (0/0/0)             0
   4 unassigned    wm       0                0         (0/0/0)             0
   5 unassigned    wm       0                0         (0/0/0)             0
   6        usr    wm     128 - 63997      124.75GB    (63870/0/0) 261611520
   7 unassigned    wm       0                0         (0/0/0)             0

partition>

what I would like to do is to remove my emcpower2a device, format it and then 
add 125gig one instead of the 128meg. Is it possible to do this in Solaris 10 
U3? If not what are my options?

Regards,

Chris

_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to