Someone has given us a RAID setup with the following config (RHEL 6.3)
Filesystem Size Used Avail Use% Mounted on
53G 7.9G 43G 16% /
tmpfs 4.2G 279k 4.2G 1% /dev/shm
/dev/cciss/c0d0p1 508M 63M 420M 13% /boot
83G 661M 78G 1% /home
Now we don't want /home to be 83GB.. instead we want /srv which exists under / at the moment.. the folder /srv is empty at the moment. /home has one user directory and one lost+found directory
Can we simply do
lvrename /home /srv
or something more is needed??
or do we need to reformat system and setup all over again with proper names??
no data on /srv and any data on /home (just one user directory) can be deleted if needed.
BUT renaming will put all home directory under /srv/<username> right?? We want to keep it as /srv/home/<username>
How to achieve that ?
can someone provide exact steps , that would be great