PDA

View Full Version : possible to add extra harddisk


mtuser
5th February 2007, 14:50
Now I'm using PC with ISPconfig 2.2.9. HD 10G and working good in everything.
I would like to add new harddisk drive for bigger storage.
Now I have 40G ata (hdb1) but I don't know how to plug it to ISPconfig.
root@thost:~# fdisk -l
Disk /dev/hda: 10.2 GB, 10273920512 bytes
255 heads, 63 sectors/track, 1249 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 1193 9582741 83 Linux
/dev/hda2 1194 1249 449820 5 Extended
/dev/hda5 1194 1249 449788+ 82 Linux swap / Solaris

Disk /dev/hdb: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 1 4865 39078081 83 Linux
root@thost:~#


How can I add new extra Harddisk drive extra storage for my site or new site or all site or whatever it can possible?
This is for workplace internal use.

I already tried add new harddisk by myself at home. Added extra sata to ISP. I created a site then mounted it to new Harddisk (/var/www/web4) but I couldn't build aquota (chmod 600 /var/www/web4/quota*) web4's directory list's not same as web1. I changed many things chmod dir look alike web1 but it couldn't be the same all. Then it was formatted. data's not serious.

But I don't want to lost my data at my workplace.How can i do something?
Suggest please.

martinfst
5th February 2007, 15:41
You don't plugin a disk to ISPconfig. You add a disk to your system, format/mount it and use the mount structure to use the extra storage.

If you use LVM (Logical Volume Manager) you can add the disk to your available drives and extend an existing filesystem.

This all depends on your system setup, not ISPConfig.

falko
6th February 2007, 14:51
You might want to take a look at this guide: http://www.howtoforge.com/linux_lvm