Date: Sat, 11 May 2013 18:11:46 +0300 From: "Vladislav Prodan" <universite@ukr.net> To: "Adam Nowacki" <nowakpl@platinum.linux.pl> Cc: freebsd-fs@freebsd.org Subject: Re[2]: Tell me how to increase the virtual disk with ZFS? Message-ID: <80049.1368285106.9876638397852811264@ffe6.ukr.net> In-Reply-To: <518E5973.9090003@platinum.linux.pl> References: <43529.1368277152.10278121996412321792@ffe11.ukr.net> <CAPJF9w=fzyzqpJThWYViK%2BoR9Ob48iDQndHNgWbR%2BXvceNz8_g@mail.gmail.com> <518E5973.9090003@platinum.linux.pl>
next in thread | previous in thread | raw e-mail | index | archive | help
> # zfs list md1p1 > NAME USED AVAIL REFER MOUNTPOINT > md1p1 126K 1.96G 31K /md1p1 > > -- on-line resize partition to occupy added disk space > # sysctl kern.geom.debugflags=16 > kern.geom.debugflags: 0 -> 16 > # gpart recover md1 > md1 recovered > # gpart resize -i 1 md1 > md1p1 resized > # sysctl kern.geom.debugflags=0 > kern.geom.debugflags: 16 -> 0 > > -- tell zfs about it > # zpool online -e md1p1 md1p1 > > -- done > # zfs list md1p1 > NAME USED AVAIL REFER MOUNTPOINT > md1p1 136K 9.84G 31K /md1p1 > Can repeat resize the flag [-s size], so it was clearly indicate the amount of increase in partition? Can you putting a pair small files in /md1p1? And compare md5 and sha256 these files before and after the resize md1? Thank you in advance. -- Vladislav V. Prodan System & Network Administrator http://support.od.ua +380 67 4584408, +380 99 4060508 VVP88-RIPE
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?80049.1368285106.9876638397852811264>