On 9/27/07, Catalin Catana <[EMAIL PROTECTED]> wrote: > L-am trimis pe offtopic din greseala ... > > Catalin Catana wrote: > > Salut, > > > > Am un CentOS 4 care a fost mutat pe un hard disk nou. > > Acum mai am inca 60GB nefolositi pe acest hdd pe care > > as vrea sa-i bag in partitia existenta. Problema mea e ca > > nu prea stiu de unde sa incep ca nu m-am mai jucat cu > > partitii LVM pana acum si nu as vrea sa stric jucaria. > > > > Cam asa arata diskul in momentul de fata > > > > Disk /dev/hda: 80.0 GB, 80026361856 bytes > > 255 heads, 63 sectors/track, 9729 cylinders > > Units = cylinders of 16065 * 512 = 8225280 bytes > > > > Device Boot Start End Blocks Id System > > /dev/hda1 * 1 13 104391 83 Linux > > /dev/hda2 14 2482 19832242+ 8e Linux LVM > > > > # df -h > > Filesystem Size Used Avail Use% Mounted on > > /dev/mapper/VolGroup00-LogVol00 > > 19G 14G 3.5G 81% / > > /dev/hda1 99M 16M 79M 17% /boot > > none 252M 0 252M 0% /dev/shm > > > > ]# lvm lvs > > LV VG Attr LSize Origin Snap% Move Log Copy% > > LogVol00 VolGroup00 -wi-ao 18.50G > > LogVol01 VolGroup00 -wi-ao 384.00M > > > > # lvm pvs > > PV VG Fmt Attr PSize PFree > > /dev/hda2 VolGroup00 lvm2 a- 18.91G 32.00M > > > > Din cate am citit pe net nu am gasit nici o cale usoara de a > > a face resize la /dev/hda2 mai ales ca pe ea e montat /, singura > > solutie ramanand, sa creez o partitie Linux LVM in spatiul > > ramas liber si sa o bag in VolGroup00. > > > > Totusi ... inainte sa optez pentru varianta din urma ... stie careva > > vreo metoda prin care pot sa fac resize la /dev/hda2 fara sa-i fac backup > > si fara sa bootez de pe un live cd si totusi sa fiu sigur ca nu pierd > > datele?
The resize2fs program will resize ext2 or ext3 file systems. It can be used to enlarge or shrink an unmounted file system located on device. If the filesystem is mounted, it can be used to expand the size of the mounted filesystem, assuming the kernel supports on-line resizing. (As of this writing, the Linux 2.6 kernel supports on-line resize for filesystems mounted using ext3 only.). http://allaboutfedora.blogspot.com/2007/01/how-to-resize-or-expand-lvm-partitions.html > > > > > > Multumesc, > > Catalin C. > > > > > > > > _______________________________________________ > > Offtopic mailing list > > [EMAIL PROTECTED] > > http://lists.lug.ro/mailman/listinfo/offtopic > > > > > _______________________________________________ > RLUG mailing list > [email protected] > http://lists.lug.ro/mailman/listinfo/rlug > _______________________________________________ RLUG mailing list [email protected] http://lists.lug.ro/mailman/listinfo/rlug
