
26th June 2010, 23:08
|
|
Junior Member
|
|
Join Date: May 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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 ?
|

27th June 2010, 21:56
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
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.
|

28th June 2010, 23:40
|
|
Member
|
|
Join Date: Jan 2010
Location: Kingston, Ontario, Canada
Posts: 34
Thanks: 5
Thanked 2 Times in 2 Posts
|
|
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?
|

29th June 2010, 14:01
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
What are the outputs of and ?
|

29th June 2010, 15:26
|
|
Member
|
|
Join Date: Jan 2010
Location: Kingston, Ontario, Canada
Posts: 34
Thanks: 5
Thanked 2 Times in 2 Posts
|
|
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
|

30th June 2010, 15:05
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
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).
|

1st July 2010, 00:23
|
|
Member
|
|
Join Date: Jan 2010
Location: Kingston, Ontario, Canada
Posts: 34
Thanks: 5
Thanked 2 Times in 2 Posts
|
|
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.
|

1st July 2010, 15:00
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
Within Knoppix, start LVM...
Code:
/etc/init.d/lvm start
... and then try again.
|

3rd July 2010, 19:03
|
|
Member
|
|
Join Date: Jan 2010
Location: Kingston, Ontario, Canada
Posts: 34
Thanks: 5
Thanked 2 Times in 2 Posts
|
|
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.
|

4th July 2010, 19:12
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
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
|
|
The Following User Says Thank You to falko For This Useful Post:
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 18:04.
|
Recent comments
15 hours 40 min ago
20 hours 39 min ago
22 hours 6 min ago
22 hours 59 min ago
1 day 42 min ago
1 day 5 hours ago
1 day 5 hours ago
1 day 8 hours ago
1 day 21 hours ago
1 day 22 hours ago