Hi dan, Your problem regarding zpool add tank c1d1 got solved or not? If not i've one solution ,Whenever you add any disk to the pool you have to give full path of that disk, even if you are in current directory. So, could you try it by giving full path of c1d1?..
On Thu, Oct 29, 2009 at 11:38 PM, <zfs-discuss-requ...@opensolaris.org>wrote: > Send zfs-discuss mailing list submissions to > zfs-discuss@opensolaris.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss > or, via email, send a message with subject or body 'help' to > zfs-discuss-requ...@opensolaris.org > > You can reach the person managing the list at > zfs-discuss-ow...@opensolaris.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of zfs-discuss digest..." > > > Today's Topics: > > 1. Re: adding new disk to pool (Cindy Swearingen) > 2. Re: adding new disk to pool (Daniel) > 3. Re: sub-optimal ZFS performance (Bob Friesenhahn) > 4. Re: adding new disk to pool (Cindy Swearingen) > 5. Re: adding new disk to pool (Daniel) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Thu, 29 Oct 2009 10:04:47 -0600 > From: Cindy Swearingen <cindy.swearin...@sun.com> > To: Daniel <dan.lis...@gmail.com> > Cc: zfs-discuss@opensolaris.org > Subject: Re: [zfs-discuss] adding new disk to pool > Message-ID: <6de0c8625b01.4ae96...@sun.com> > Content-Type: text/plain; CHARSET=US-ASCII > > > 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.lis...@gmail.com> > Date: Thursday, October 29, 2009 9:59 am > Subject: [zfs-discuss] adding new disk to pool > To: zfs-discuss@opensolaris.org > > > > 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@opensolaris.org > > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss > > > ------------------------------ > > Message: 2 > Date: Thu, 29 Oct 2009 12:17:28 -0400 > From: Daniel <dan.lis...@gmail.com> > To: Cindy Swearingen <cindy.swearin...@sun.com> > Cc: zfs-discuss@opensolaris.org > Subject: Re: [zfs-discuss] adding new disk to pool > Message-ID: > <2dc83c330910290917q68c63218ge6d32bd0e7d07...@mail.gmail.com> > Content-Type: text/plain; charset="iso-8859-1" > > 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.> > /p...@0,0/pci-...@1f,2/i...@0/c...@1,0 > > > > On Thu, Oct 29, 2009 at 12:04 PM, Cindy Swearingen < > cindy.swearin...@sun.com > > 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.lis...@gmail.com> > > Date: Thursday, October 29, 2009 9:59 am > > Subject: [zfs-discuss] adding new disk to pool > > To: zfs-discuss@opensolaris.org > > > > > > > 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@opensolaris.org > > > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss > > > > > > -- > -Daniel > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20091029/4ce49368/attachment-0001.html > > > > ------------------------------ > > Message: 3 > Date: Thu, 29 Oct 2009 11:23:09 -0500 (CDT) > From: Bob Friesenhahn <bfrie...@simple.dallas.tx.us> > To: Orvar Korvar <knatte_fnatte_tja...@yahoo.com> > Cc: zfs-discuss@opensolaris.org > Subject: Re: [zfs-discuss] sub-optimal ZFS performance > Message-ID: > <alpine.gso.2.01.0910291120380.1...@freddy.simplesystems.org> > Content-Type: text/plain; charset="utf-8"; Format="flowed" > > On Thu, 29 Oct 2009, Orvar Korvar wrote: > > > So the solution is to never get more than 90% full disk space, f?r fan? > > Right. While UFS created artificial limits to keep the filesystem > from getting so full that it became sluggish and "sick", ZFS does not > seem to include those protections. Don't ever run a ZFS pool for a > long duration of time at very close to full since it will become > excessively fragmented. > > Bob > -- > Bob Friesenhahn > bfrie...@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/ > GraphicsMagick Maintainer, http://www.GraphicsMagick.org/ > > ------------------------------ > > Message: 4 > Date: Thu, 29 Oct 2009 11:54:53 -0600 > From: Cindy Swearingen <cindy.swearin...@sun.com> > To: Daniel <dan.lis...@gmail.com> > Cc: zfs-discuss@opensolaris.org > Subject: Re: [zfs-discuss] adding new disk to pool > Message-ID: <4ae9d6ed.7020...@sun.com> > Content-Type: text/plain; CHARSET=US-ASCII; format=flowed > > 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.> > > /p...@0,0/pci-...@1f,2/i...@0/c...@1,0 > > > > > > > > On Thu, Oct 29, 2009 at 12:04 PM, Cindy Swearingen > > <cindy.swearin...@sun.com <mailto:cindy.swearin...@sun.com>> 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.lis...@gmail.com <mailto:dan.lis...@gmail.com>> > > Date: Thursday, October 29, 2009 9:59 am > > Subject: [zfs-discuss] adding new disk to pool > > To: zfs-discuss@opensolaris.org <mailto:zfs-discuss@opensolaris.org> > > > > > > > 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@opensolaris.org <mailto:zfs-discuss@opensolaris.org> > > > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss > > > > > > > > > > -- > > -Daniel > > > ------------------------------ > > Message: 5 > Date: Thu, 29 Oct 2009 14:07:41 -0400 > From: Daniel <dan.lis...@gmail.com> > To: Cindy Swearingen <cindy.swearin...@sun.com> > Cc: zfs-discuss@opensolaris.org > Subject: Re: [zfs-discuss] adding new disk to pool > Message-ID: > <2dc83c330910291107l686d2ea5ja9dcd7227aa11...@mail.gmail.com> > Content-Type: text/plain; charset="iso-8859-1" > > 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.swearin...@sun.com>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.> > >> /p...@0,0/pci-...@1f,2/i...@0/c...@1,0 > >> > >> > >> > >> On Thu, Oct 29, 2009 at 12:04 PM, Cindy Swearingen < > >> cindy.swearin...@sun.com <mailto:cindy.swearin...@sun.com>> 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.lis...@gmail.com <mailto:dan.lis...@gmail.com>> > >> Date: Thursday, October 29, 2009 9:59 am > >> Subject: [zfs-discuss] adding new disk to pool > >> To: zfs-discuss@opensolaris.org <mailto:zfs-discuss@opensolaris.org> > >> > >> > >> > 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@opensolaris.org <mailto:zfs-discuss@opensolaris.org> > >> > >> > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss > >> > >> > >> > >> > >> -- > >> -Daniel > >> > > > > > -- > -Daniel > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20091029/ee22cc7e/attachment.html > > > > ------------------------------ > > _______________________________________________ > zfs-discuss mailing list > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss > > > End of zfs-discuss Digest, Vol 48, Issue 129 > ******************************************** > -- Regards Amit G KQ Infotech Mob. No : +91 9823615534
_______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss