logo       

[osol-discuss] zfs create -V and LDom disk image: msg#00824

opensolaris-discuss

Subject: [osol-discuss] zfs create -V and LDom disk image

Hi,

I followed the example to create a disk image using zfs on page 98 of the LDoms
1.1 Admin guide and am running into issues. I created and used them fine
however the disk images expanded on their own causing all 8 LDoms to fail. I
managed to get a few of them back by decreasing the disk image on a few of
them. I then set quotas on the top level zfs area for the disk image. My
questions is what is the best way to prevent this from happening? Why no
mentioned of it in the manual?

Here is my sequence:

zpool create ldmpool
zfs create ldmpool/hostname-1
zfs create -V 99gb ldmpool/hostname-1/disk0

I only left a few gig free on ldmpool thinking the create -V was finite. It
appears to not be the case as one of the LDom disk0 went to 105GB filled up
ldmpool and brought down all 8 LDoms. What should I do to ensure that only
99gb is allowed on disk0? Below is the zfs list of the issue. Note that
dnagac08-1 expanded to 105G which filled up ldmpool. I tried decreasing a few
with volsize which at least allowed me to get the others working but the ones I
decreased now panic and will have to be re-imaged.

ldmpool 786G 11.8G 46.0K /ldmpool
ldmpool/dnagac08-1 105G 1.07G 30.7K /ldmpool/dnagac08-1
ldmpool/dnagac08-1/disk0 105G 1.07G 105G -
ldmpool/dnagac08-2 99.2G 844M 30.7K /ldmpool/dnagac08-2
ldmpool/dnagac08-2/disk0 99.2G 844M 99.2G -
ldmpool/dnagac08-3 99.0G 1024M 30.7K /ldmpool/dnagac08-3
ldmpool/dnagac08-3/disk0 99G 63.7G 36.3G -
ldmpool/dnagac08-4 95.0G 1024M 30.7K /ldmpool/dnagac08-4
ldmpool/dnagac08-4/disk0 95G 81.9G 14.1G -
ldmpool/dnagac08-5 99.0G 1024M 30.7K /ldmpool/dnagac08-5
ldmpool/dnagac08-5/disk0 99G 81.6G 18.4G -
ldmpool/dnagac08-6 95.0G 1024M 30.7K /ldmpool/dnagac08-6
ldmpool/dnagac08-6/disk0 95G 81.9G 14.1G -
ldmpool/dnagac08-7 95.0G 1024M 30.7K /ldmpool/dnagac08-7
ldmpool/dnagac08-7/disk0 95G 82.0G 14.0G -
ldmpool/dnagac08-8 99.0G 1024M 30.7K /ldmpool/dnagac08-8
ldmpool/dnagac08-8/disk0 99G 19.4G 80.6G -

Thanks for any help with this,

Kevin
--
This message posted from opensolaris.org
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@xxxxxxxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | Mail Home | sitemap | FAQ | advertise