I am new to ZFS, so please bear with me... I created a raidz1 pool from three 1.5TB disks on OpenSolaris 2009.6. I see less than 1TB useable space. What did I do wrong? $ zpool list NAME SIZE USED AVAIL CAP HEALTH ALTROOT rpool 464G 42.2G 422G 9% ONLINE - storage 1.36T 143K 1.36T 0% ONLINE - $ df -h /storage Filesystem Size Used Avail Use% Mounted on storage 913G 26K 913G 1% /storage $ zpool status pool: rpool state: ONLINE scrub: none requested config: NAME STATE READ WRITE CKSUM rpool ONLINE 0 0 0 mirror ONLINE 0 0 0 c8t1d0s0 ONLINE 0 0 0 c10d0s0 ONLINE 0 0 0 errors: No known data errors pool: storage state: ONLINE scrub: none requested config: NAME STATE READ WRITE CKSUM storage ONLINE 0 0 0 raidz1 ONLINE 0 0 0 c9d0s2 ONLINE 0 0 0 c10d0s2 ONLINE 0 0 0 c10d1s2 ONLINE 0 0 0 errors: No known data errors -- David -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20090803/ff425e4f/attachment.html>
On Mon, Aug 3, 2009 at 12:35 PM, David E. Anderson<danderson3 at gmail.com> wrote:> I am new to ZFS, so please bear with me... > > I created a raidz1 pool from three 1.5TB disks on OpenSolaris 2009.6.? I see > less than 1TB useable space.? What did I do wrong? > > $ zpool list > NAME????? SIZE?? USED? AVAIL??? CAP? HEALTH? ALTROOT > rpool???? 464G? 42.2G?? 422G???? 9%? ONLINE? - > storage? 1.36T?? 143K? 1.36T???? 0%? ONLINE? - > > $ df -h /storage > Filesystem??????????? Size? Used Avail Use% Mounted on > storage?????????????? 913G?? 26K? 913G?? 1% /storage > > $ zpool status > ? pool: rpool > ?state: ONLINE > ?scrub: none requested > config: > > ??? NAME????????? STATE???? READ WRITE CKSUM > ??? rpool???????? ONLINE?????? 0???? 0???? 0 > ??? ? mirror????? ONLINE?????? 0???? 0???? 0 > ??? ??? c8t1d0s0? ONLINE?????? 0???? 0???? 0 > ??? ??? c10d0s0?? ONLINE?????? 0???? 0???? 0 > > errors: No known data errors > > ? pool: storage > ?state: ONLINE > ?scrub: none requested > config: > > ??? NAME???????? STATE???? READ WRITE CKSUM > ??? storage????? ONLINE?????? 0???? 0???? 0 > ??? ? raidz1???? ONLINE?????? 0???? 0???? 0 > ??? ??? c9d0s2?? ONLINE?????? 0???? 0???? 0 > ??? ??? c10d0s2? ONLINE?????? 0???? 0???? 0 > ??? ??? c10d1s2? ONLINE?????? 0???? 0???? 0 > > errors: No known data errors > > -- > Davidcan you post the output of ''zfs get all storage'' ? blake
$ zfs get all storage NAME PROPERTY VALUE SOURCE storage type filesystem - storage creation Fri Jul 10 21:19 2009 - storage used 89.2K - storage available 913G - storage referenced 25.3K - storage compressratio 1.00x - storage mounted yes - storage quota none default storage reservation none default storage recordsize 128K default storage mountpoint /storage default storage sharenfs off default storage checksum on default storage compression off default storage atime on default storage devices on default storage exec on default storage setuid on default storage readonly off default storage zoned off default storage snapdir hidden default storage aclmode groupmask default storage aclinherit restricted default storage canmount on default storage shareiscsi off default storage xattr on default storage copies 1 default storage version 3 - storage utf8only off - storage normalization none - storage casesensitivity sensitive - storage vscan off default storage nbmand off default storage sharesmb off default storage refquota none default storage refreservation none default storage primarycache all default storage secondarycache all default storage usedbysnapshots 0 - storage usedbydataset 25.3K - storage usedbychildren 63.9K - storage usedbyrefreservation 0 On Mon, Aug 3, 2009 at 10:34 AM, Blake <blake.irvin at gmail.com> wrote:> On Mon, Aug 3, 2009 at 12:35 PM, David E. Anderson<danderson3 at gmail.com> > wrote: > > I am new to ZFS, so please bear with me... > > > > I created a raidz1 pool from three 1.5TB disks on OpenSolaris 2009.6. I > see > > less than 1TB useable space. What did I do wrong? > <snip> > > > can you post the output of ''zfs get all storage'' ? > > blake >-- David -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20090803/71b464f4/attachment.html>
On 03.08.09 21:34, Blake wrote:> On Mon, Aug 3, 2009 at 12:35 PM, David E. Anderson<danderson3 at gmail.com> wrote: >> I am new to ZFS, so please bear with me... >> >> I created a raidz1 pool from three 1.5TB disks on OpenSolaris 2009.6. I see >> less than 1TB useable space. What did I do wrong? >> >> $ zpool list >> NAME SIZE USED AVAIL CAP HEALTH ALTROOT >> rpool 464G 42.2G 422G 9% ONLINE - >> storage 1.36T 143K 1.36T 0% ONLINE - >> >> $ df -h /storage >> Filesystem Size Used Avail Use% Mounted on >> storage 913G 26K 913G 1% /storage >> >> $ zpool status >> pool: rpool >> state: ONLINE >> scrub: none requested >> config: >> >> NAME STATE READ WRITE CKSUM >> rpool ONLINE 0 0 0 >> mirror ONLINE 0 0 0 >> c8t1d0s0 ONLINE 0 0 0 >> c10d0s0 ONLINE 0 0 0 >> >> errors: No known data errors >> >> pool: storage >> state: ONLINE >> scrub: none requested >> config: >> >> NAME STATE READ WRITE CKSUM >> storage ONLINE 0 0 0 >> raidz1 ONLINE 0 0 0 >> c9d0s2 ONLINE 0 0 0 >> c10d0s2 ONLINE 0 0 0 >> c10d1s2 ONLINE 0 0 0 >> >> errors: No known data errors >> >> -- >> David > > > can you post the output of ''zfs get all storage'' ?Output of prtvtoc may also be useful: prtvtoc /dev/rdsk/c9d0s2 prtvtoc /dev/rdsk/c10d0s2 prtvtoc /dev/rdsk/c11d0s2 victor
On Mon, Aug 3, 2009 at 1:41 PM, David E. Anderson<danderson3 at gmail.com> wrote:> $ zfs get all storage > NAME???? PROPERTY????????????? VALUE????????????????? SOURCE > storage? type????????????????? filesystem???????????? - > storage? creation????????????? Fri Jul 10 21:19 2009? - > storage? used????????????????? 89.2K????????????????? - > storage? available???????????? 913G?????????????????? - > storage? referenced??????????? 25.3K????????????????? - > storage? compressratio???????? 1.00x????????????????? - > storage? mounted?????????????? yes??????????????????? - > storage? quota???????????????? none?????????????????? default > storage? reservation?????????? none?????????????????? default > storage? recordsize??????????? 128K?????????????????? default > storage? mountpoint??????????? /storage?????????????? default > storage? sharenfs????????????? off??????????????????? default > storage? checksum????????????? on???????????????????? default > storage? compression?????????? off??????????????????? default > storage? atime???????????????? on???????????????????? default > storage? devices?????????????? on???????????????????? default > storage? exec????????????????? on???????????????????? default > storage? setuid??????????????? on???????????????????? default > storage? readonly????????????? off??????????????????? default > storage? zoned???????????????? off??????????????????? default > storage? snapdir?????????????? hidden???????????????? default > storage? aclmode?????????????? groupmask????????????? default > storage? aclinherit??????????? restricted???????????? default > storage? canmount????????????? on???????????????????? default > storage? shareiscsi??????????? off??????????????????? default > storage? xattr???????????????? on???????????????????? default > storage? copies??????????????? 1????????????????????? default > storage? version?????????????? 3????????????????????? - > storage? utf8only????????????? off??????????????????? - > storage? normalization???????? none?????????????????? - > storage? casesensitivity?????? sensitive????????????? - > storage? vscan???????????????? off??????????????????? default > storage? nbmand??????????????? off??????????????????? default > storage? sharesmb????????????? off??????????????????? default > storage? refquota????????????? none?????????????????? default > storage? refreservation??????? none?????????????????? default > storage? primarycache????????? all??????????????????? default > storage? secondarycache??????? all??????????????????? default > storage? usedbysnapshots?????? 0????????????????????? - > storage? usedbydataset???????? 25.3K????????????????? - > storage? usedbychildren??????? 63.9K????????????????? - > storage? usedbyrefreservation? 0 > > On Mon, Aug 3, 2009 at 10:34 AM, Blake <blake.irvin at gmail.com> wrote: >> >> On Mon, Aug 3, 2009 at 12:35 PM, David E. Anderson<danderson3 at gmail.com> >> wrote: >> > I am new to ZFS, so please bear with me... >> > >> > I created a raidz1 pool from three 1.5TB disks on OpenSolaris 2009.6.? I >> > see >> > less than 1TB useable space.? What did I do wrong? >> <snip> >> >> >> can you post the output of ''zfs get all storage'' ? >> >> blake > > > > -- > DavidLooking back at your ''zpool status'' output, I think you might have accidentally made put one of your big storage disks in your rpool, and one of your little rpool disks in your big storage pool.