[LUNI] Resizing my LVM
Jay Strauss
me at heyjay.com
Thu May 17 08:29:06 CDT 2007
> That's pretty much it, but you probably want to use the non-mapper devs of
> /dev/vg1/home I'm not sure how the LVM tools would like the raw device.
> It'll probably work, as the entries in /dev/vg1 are links off to
> /dev/mapper, but it never hurts.
>
> Also, you didn't mention the distribution or kernel you're on, but if its a
> new enough kernel and new enough e2fsprogs, you can do the resizing without
> unmounting the filesystem.
>
> Keith
Thanks Keith, below is some info you might find enlightening
iron:~# cat /proc/version
Linux version 2.6.8-2-686 (horms at tabatha.lab.ultramonkey.org) (gcc
version 3.3.5 (Debian 1:3.3.5-13)) #1 Tue Aug 16 13:22:48 UTC 2005
iron:~# which e2fsprogs
iron:~# cat /etc/issue
Debian GNU/Linux 3.1 \n \l
I don't have e2fsprogs on my system. Although aptitude show e2fsprogs shows:
>>>
iron:~# aptitude show e2fsprogs
Package: e2fsprogs
Essential: yes
State: installed
Automatically installed: no
Version: 1.37-2sarge1
Priority: required
Section: base
Maintainer: Theodore Y. Ts'o <tytso at mit.edu>
Uncompressed Size: 1401k
PreDepends: e2fslibs (= 1.37-2sarge1), libblkid1 (>= 1.34-1), libc6 (>=
2.3.2.ds1-21), libcomerr2 (>= 1.34-1), libss2 (>= 1.34-1), libuuid1
(>= 1.34-1)
Suggests: gpart, parted, e2fsck-static
Conflicts: dump (< 0.4b4-4), quota (< 1.55-8.1), initscripts (< 2.85-4),
sysvinit (< 2.85-4)
Replaces: hurd (<= 20040301-1)
Description: ext2 file system utilities and libraries
EXT2 stands for "Extended Filesystem", version 2. It's the main filesystem
type used for hard disks on Debian and other Linux systems.
This package contains programs for creating, checking, and maintaining EXT2
filesystems, and the generic `fsck' wrapper.
<<<
But it doesn't install either:
iron:~# e2fsprogs
-bash: e2fsprogs: command not found
iron:~# aptitude install e2fsprogs
Reading Package Lists... Done
Building Dependency Tree
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
The following packages have been kept back:
apt-proxy bind9-host dnsutils file gnupg gzip info libc6 libc6-dev
libdevmapper1.01 libdns16 libgnutls11 libisc7 libkrb53 liblwres1
libmagic1 libssl0.9.7 locales man-db python2.3 samba samba-common ssh
swat tar texinfo
0 packages upgraded, 0 newly installed, 0 to remove and 26 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Writing extended state information... Done
Reading Package Lists... Done
Building Dependency Tree
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
More information about the luni
mailing list