> We installed the 2.4.7 kernel on 5 full pack mini disks as follows: > > /dev/dasda1 > /dev/dasdb1 > /dev/dasdc1 lvmsuse > /dev/dasdd1 lvmsuse > /dev/dasde1 lvmsuse > > Our parmfile is: > dasd=0200,0100,0101,0102,0103 root=/dev/dasdb1 noinitrd > > so dasda1 is the swap file, and dasdb1 is the root, and dasdc1 starts our LVM > , where we have /usr mounted. > > I know there are ways to shrink the LVM, but what would be the best way to sh > rink down our dasdb1 where our root is mounted? This device is a full pack m > ini disk(3390), and it is way over-allocated > for what it is actually using. > In OS/390 USS, for a similar problem, we did a pax on /, and unpaxed to a sma > ller file system. I don't see pax as part of our operating system, but maybe > there is a better way to do this.
I use tar. tar c -C ... . | tar xp -C ... Read up on the switches and choose carefully. You probably want to restrict the 'tar c' to a single filesysten in the sense you don't want to cross filesystem boundaries. To copy this sytem: [summer@numbat summer]$ mount /dev/hda3 on / type ext3 (rw) none on /proc type proc (rw) usbdevfs on /proc/bus/usb type usbdevfs (rw) /dev/hda1 on /boot type ext3 (rw) none on /dev/pts type devpts (rw,gid=5,mode=620) /dev/hda2 on /mnt/dos type vfat (rw,noexec,nosuid,nodev) none on /dev/shm type tmpfs (rw) none on /var/tmp type tmpfs (rw,size=256m) dugite:/usr/local on /usr/local type nfs (ro,addr=192.168.1.1) dugite:/home on /home type nfs (rw,rsize=8192,wsize=8192,retry=2,bg,soft ,intr,posix,addr=192.168.1.1) dugite:/var/ftp/pub/linux on /var/ftp/pub/linux type nfs (ro,nosuid,nodev,rsize=8192,wsize=8192,retry=2,bg,soft,intr,posix,addr=1 92.168.1.1) automount(pid915) on /misc type autofs (rw,fd=5,pgrp=915,minproto=2,maxp roto=3) none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw) dugite:/var/downloads on /var/downloads type nfs (rw,nosuid,nodev,soft,i ntr,addr=192.168.1.1,user=summer) [summer@numbat summer]$ I'd tar c -C / boot . -- Cheers John Summerfield Microsoft's most solid OS: http://www.geocities.com/rcwoolley/ Note: mail delivered to me is deemed to be intended for me, for my disposition. ============================== If you don't like being told you're wrong, be right!