OpenVZ Forum


Home » General » Support » how to use second hard drive (how to use second hard drive)
how to use second hard drive [message #39654] Sat, 22 May 2010 23:57 Go to next message
afreetbasha is currently offline  afreetbasha
Messages: 5
Registered: July 2008
Junior Member
hello

my primary hard disk is 95% full off
and i need to know how to use secondary hard disk
to create vps on them

any helping for this

thanks
Re: how to use second hard drive [message #39656 is a reply to message #39654] Sun, 23 May 2010 03:27 Go to previous message
sHaggY_caT is currently offline  sHaggY_caT
Messages: 144
Registered: August 2008
Location: Moscow, Russian Federatio...
Senior Member

1. if it's server, you are wrong! You don't may use on production server disk subsystem without raid

2. use lvm under raid, or lvm with mirror raid function. some raids (hardware or software mdraid) has feature to resize in bigger size

If you make all true (i think you very-very need to reinstall your server!), you will have dedecated lvm volume to /vz, under raid device, and, in future, you may resized lvm volume after add hard drives

3. If it's not production server, but it's laptop/destop installation, and you don't have money problem if ovz installation is destroed with bad hard drive, you may use simbol links on any new VE with

/vz/private/<NEWVEID> > /mnt/new_disk_on_my_desktop/OVZ/private/NEWVEID

/vz/root/<NEWVEID> > /mnt/new_disk_on_my_desktop/OVZ/root/NEWVEID

For me, option in config of VE, /vz/sysconfig/vz/conf/[0-9]\{1,}.conf, don't work true if vzquota on.


IT-outsource for UNIX servers,
http://ha-systems.ru

[Updated on: Sun, 23 May 2010 03:32]

Report message to a moderator

Previous Topic: Two Interfaces
Next Topic: Not Enough Space
Goto Forum:
  


Current Time: Wed Jul 30 08:44:27 GMT 2025

Total time taken to generate the page: 0.05226 seconds