HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=4)
-   -   a perfect partition (http://www.howtoforge.com/forums/showthread.php?t=46807)

abibib 26th June 2010 23:08

a perfect partition
 
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 ?

falko 27th June 2010 21:56

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.

John Ford 28th June 2010 23:40

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-se...ispconfig-3-p2

at 20GB. I've run out of space. How do I expand that on the current hard-drive?

falko 29th June 2010 14:01

What are the outputs of
Code:

vgdisplay
and
Code:

lvdisplay
?

John Ford 29th June 2010 15:26

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

falko 30th June 2010 15:05

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).

John Ford 1st July 2010 00:23

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.

falko 1st July 2010 15:00

Within Knoppix, start LVM...
Code:

/etc/init.d/lvm start
... and then try again.

John Ford 3rd July 2010 19:03

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.

falko 4th July 2010 19:12

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


All times are GMT +2. The time now is 21:30.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.