Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have a OpenVZ VPS server with a 500GB hard drive and 240GB SSD. I'd like to have each VM's files stored on the SSD. Can I make their directory within /vz symlink to a directory on the SSD?

There might be a better way to do this. If you know one, feel free to let me know about it.

Thanks

share|improve this question

1 Answer 1

up vote 2 down vote accepted

Sure you could just mount the SSD card under /vz manually or through your systems /etc/fstab file.

First figure out what your SSD card's device handle is (might be something like /dev/sdc1). Then using the mount command:

% mount /dev/sdc1 /vz

If you're not sure which /dev/... is your device, you could use the command blkid to help figure it out.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.