Quote:
Originally Posted by Amorphous
are there any settings i need to make in Centos so the disk used will be /dev/mapper/vg_s1-lv_home ??
|
Hi.
Just to make sure I understand your problem correctly:
You have /var/www on your 50 GB large root partition and instead you want it on the 2TB large one, correct?
If so, that shouldn't be a problem. The shell command you are looking for is
mount .
You can create a new directory (say "/home/www") on the 2TB partition, then use something like "mount --bind olddir newdir" (OR --rbind OR --move) to "redirect" /home/www to /var/www.
Also, I'd suggest you move your data from /var/www to /home/www first and only then use mount on empty /var/www. Otherwise, you wouldn't be able to (easily) access the data there. If you need to take the changes back, use umount.
Good luck.
Recent comments
10 hours 45 min ago
15 hours 50 min ago
20 hours 14 min ago
22 hours 3 min ago
1 day 12 hours ago
1 day 12 hours ago
1 day 17 hours ago
1 day 23 hours ago
2 days 47 min ago
2 days 2 hours ago