Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 26th June 2010, 23:08
abibib abibib is offline
Junior Member
 
Join Date: May 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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 ?
Reply With Quote
Sponsored Links
  #2  
Old 27th June 2010, 21:56
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,722 Times in 2,563 Posts
Default

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.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 28th June 2010, 23:40
John Ford John Ford is offline
Member
 
Join Date: Jan 2010
Location: Kingston, Ontario, Canada
Posts: 37
Thanks: 5
Thanked 2 Times in 2 Posts
Default

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?
Reply With Quote
  #4  
Old 29th June 2010, 14:01
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,722 Times in 2,563 Posts
Default

What are the outputs of
Code:
vgdisplay
and
Code:
lvdisplay
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 29th June 2010, 15:26
John Ford John Ford is offline
Member
 
Join Date: Jan 2010
Location: Kingston, Ontario, Canada
Posts: 37
Thanks: 5
Thanked 2 Times in 2 Posts
Default

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
Reply With Quote
  #6  
Old 30th June 2010, 15:05
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,722 Times in 2,563 Posts
Default

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).
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #7  
Old 1st July 2010, 00:23
John Ford John Ford is offline
Member
 
Join Date: Jan 2010
Location: Kingston, Ontario, Canada
Posts: 37
Thanks: 5
Thanked 2 Times in 2 Posts
Default

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.
Reply With Quote
  #8  
Old 1st July 2010, 15:00
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,722 Times in 2,563 Posts
Default

Within Knoppix, start LVM...
Code:
/etc/init.d/lvm start
... and then try again.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #9  
Old 3rd July 2010, 19:03
John Ford John Ford is offline
Member
 
Join Date: Jan 2010
Location: Kingston, Ontario, Canada
Posts: 37
Thanks: 5
Thanked 2 Times in 2 Posts
Default

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.
Reply With Quote
  #10  
Old 4th July 2010, 19:12
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,722 Times in 2,563 Posts
 
Default

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
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
The Following User Says Thank You to falko For This Useful Post:
John Ford (5th July 2010)
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can all the installation and configuration be automated (Kickstart) gabby Installation/Configuration 0 30th January 2010 19:47
Perfect Desktop(s)-will they play movie trailers from quicktime.com? jimfitzp HOWTO-Related Questions 0 8th January 2010 22:18
HOWTO use a keyfile for an encrypted swap partition charles HOWTO-Related Questions 0 10th January 2009 16:10
Howtoforge the perfect Server(links) rini90 Installation/Configuration 0 14th December 2008 10:58
Fedora 8 Perfect Server cannot connect to Windows Shares jkrell HOWTO-Related Questions 4 12th May 2008 03:01


All times are GMT +2. The time now is 05:23.


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