OpenVZ Forum


Home » General » Support » Additional partition in container?
Re: Additional partition in container? [message #36541 is a reply to message #36538] Mon, 29 June 2009 15:10 Go to previous message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
I don't quite understand what you want.
How would it possible "to partition virtual space"?
If it suits you, you may create loop device inside VE and mount it.

# vzctl set 101 --devnodes loop0:rw --save
# vzctl set 101 --devnodes loop1:rw --save
# vzctl set 101 --devnodes loop2:rw --save
# vzctl set 101 --devnodes loop3:rw --save
# vzctl enter 101
# dd if=/dev/zero of=/root/filesystem count=100000
# mkfs.ext3 /root/filesystem
# mount -t ext3 /root/filesystem /mnt/

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: HN can not ping VE
Next Topic: [solved] nfs mount vs. mount --bind
Goto Forum:
  


Current Time: Sun Nov 17 11:48:48 GMT 2024

Total time taken to generate the page: 0.02839 seconds