Yes I am trying to create a non-redundant pool of two disks.
The output of format -> partition for c0d0
Current partition table (original):
Total disk sectors available: 976743646 + 16384 (reserved sectors)
Part Tag Flag First Sector Size Last Sector
0 usr wm 34 465.75GB 976743646
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 976743647 8.00MB 976760030
And for c1d1
Current partition table (original):
Total disk sectors available: 18446744072344831966 + 16384 (reserved
sectors)
Part Tag Flag First Sector
Size Last Sector
0 usr wm 34
8589934592.00TB 8446744072344831966
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 18446744072344831967
8.00MB 18446744072344848350
I notice that the size of the first partition is wildly inaccurate.
creating tank2 gives the same error.
# zpool create tank2 c1d1
cannot create 'tank2': invalid argument for this pool operation
Thanks for your help.
On Thu, Oct 29, 2009 at 1:54 PM, Cindy Swearingen
<Cindy.Swearingen@xxxxxxx <mailto:Cindy.Swearingen@xxxxxxx>> wrote:
I might need to see the format-->partition output for both c0d0 and
c1td1.
But in the meantime, you could try this:
# zpool create tank2 c1d1
# zpool destroy tank2
# zpool add tank c1d1
Adding the c1d1 disk to the tank pool will create a non-redundant pool
of two disks. Is this what you had in mind?
Thanks,
Cindy
On 10/29/09 10:17, Daniel wrote:
Here is the output of zpool status and format.
# zpool status tank
pool: tank
state: ONLINE
scrub: none requested
config:
NAME STATE READ WRITE CKSUM
tank ONLINE 0 0 0
c0d0 ONLINE 0 0 0
errors: No known data errors
format> current
Current Disk = c1d1
<ST315003- 6VS08NK-0001-16777215.>
/pci@0,0/pci-ide@1f,2/ide@0/cmdk@1,0
On Thu, Oct 29, 2009 at 12:04 PM, Cindy Swearingen
<Cindy.Swearingen@xxxxxxx <mailto:Cindy.Swearingen@xxxxxxx>
<mailto:Cindy.Swearingen@xxxxxxx
<mailto:Cindy.Swearingen@xxxxxxx>>> wrote:
Hi Dan,
Could you provide a bit more information, such as:
1. zpool status output for tank
2. the format entries for c0d0 and c1d1
Thanks,
Cindy
----- Original Message -----
From: Daniel <dan.lister@xxxxxxxxx
<mailto:dan.lister@xxxxxxxxx> <mailto:dan.lister@xxxxxxxxx
<mailto:dan.lister@xxxxxxxxx>>>
Date: Thursday, October 29, 2009 9:59 am
Subject: [zfs-discuss] adding new disk to pool
To: zfs-discuss@xxxxxxxxxxxxxxx
<mailto:zfs-discuss@xxxxxxxxxxxxxxx>
<mailto:zfs-discuss@xxxxxxxxxxxxxxx
<mailto:zfs-discuss@xxxxxxxxxxxxxxx>>
> Hi,
>
> I just installed 2 new disks in my solaris box and would
like to add
> them to
> my zfs pool.
> After installing the disks I run
> # zpool add -n tank c1d1
>
> and I get:
>
> would update 'tank' to the following configuration:
> tank
> c0d0
> c1d1
>
> Which is what I want however when I omit the -n I get the
following error
>
> # zpool add tank c1d1
> cannot add to 'tank': invalid argument for this pool operation
>
> I get the same message for both dirves with and without the -f
option.
> Any help is appreciated thanks.
>
> --
> -Daniel
> _______________________________________________
> zfs-discuss mailing list
> zfs-discuss@xxxxxxxxxxxxxxx
<mailto:zfs-discuss@xxxxxxxxxxxxxxx>
<mailto:zfs-discuss@xxxxxxxxxxxxxxx
<mailto:zfs-discuss@xxxxxxxxxxxxxxx>>
> http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
--
-Daniel
--
-Daniel