hello I'm new to linux and managing servers. I want to install ubuntu server 10 on my server with 1 TB hard disk and 6 GB RAM. ( I want to install ISPconfig 3 then but I think choose " Guided - use entire disk and set up LVM" that said here : http://www.howtoforge.com/perfect-se...ispconfig-3-p2 , in ubuntu server installation step is not so good for a perfect server ). what's your idea ? would you please suggest a good partition ?
I think /boot / /var is a good partitioning scheme. ISPConfig "dumps" most of its data in subdirectories of /var. It's a good idea to use LVM for / and /var. If you habe two identical hard drives, you could also set up RAID1.
I followed the installation procedure for allocating storage space to the amount of volume group to use for guided partitioning outline on this page http://www.howtoforge.com/perfect-server-ubuntu-9.10-ispconfig-3-p2 at 20GB. I've run out of space. How do I expand that on the current hard-drive?
vgdisplay --- Volume group --- VG Name hashbox3 System ID Format lvm2 Metadata Areas 1 Metadata Sequence No 3 VG Access read/write VG Status resizable MAX LV 0 Cur LV 2 Open LV 2 Max PV 0 Cur PV 1 Act PV 1 VG Size 297.85 GB PE Size 4.00 MB Total PE 76249 Alloc PE / Size 4767 / 18.62 GB Free PE / Size 71482 / 279.23 GB VG UUID 5X6WCE-7b7r-6HJ3-w7YW-W7h0-baeI-3xj1l0 lvdisplay --- Logical volume --- LV Name /dev/hashbox3/root VG Name hashbox3 LV UUID 13e2iX-inoc-7qQl-YzzV-x5yL-LjbA-v4SAEQ LV Write Access read/write LV Status available # open 1 LV Size 17.80 GB Current LE 4558 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 252:0 --- Logical volume --- LV Name /dev/hashbox3/swap_1 VG Name hashbox3 LV UUID m5ssVm-ofKt-jodf-UVsE-36OW-QmJJ-Fs1a6C LV Write Access read/write LV Status available # open 2 LV Size 836.00 MB Current LE 209 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 252:1
Ok, there's free space left on your hard drive, so you can extend /dev/hashbox3/root. Take a look here: http://www.howtoforge.com/linux_lvm_p4 Since this is your / partition, you will have to do this from a rescue system (e.g. Knoppix).
I think I have a disconnect on the live knoppix cd. I can boot my system into the live cd but I don't know how to access the hard drive on my current system to implement extending the filesystem. Is there a tutorial on how to utilize the knoppix cd? All I seem to be able to read is the knoppix cd itslef.
I had to use Code: /etc/init.d/lvm2 start It wouldn't work unless I was root. How do I read what's in the volume that I want to change. I can only read what Knoppix provides. How do I get into and read what is on my system? I'm sorry I'm such a newb.
You can mount your LV as follows in Knoppix and then use it as if it was a part of Knoppix: Code: mount /dev/hashbox3/root /mnt
That was the code key that I needed That partition is resized now to accommodate more files. Thanks for all your help. I followed the tutorial that you wrote on LVM and increasing the size of the logical volume worked great