Re: disk partitioning - I'm missing something simple, I think

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Craig White wrote:
On Fri, 2008-05-09 at 15:36 -0400, Ray Leventhal wrote:
Hi all,

Excuse the question as I'm sure those more experienced will find it simple.

I've a CentOS5.1 box with six physical drives, two of which are used for nightly rsync backups. Contents of /etc/mtab, /etc/fstab, df and a brief narrative follow:
<big snip>

I'd like to move the contents of /home/adminusers from /dev/sdd1 to /dev/sdc1 and use that underutilized drive elsewhere. What's the least invasive way of doing this given the hardware and partitioning on my system?

Thanks in advance,
----
mkdir /home/adminusers-temp
cp -ar /home/adminusers /home/adminusers-temp
umount /home/adminusers
mv /home/adminusers-temp/* /home/adminusers
rm -fr /home/adminusers-temp

then edit /etc/fstab and comment out /dev/sdd1 line and all should be
good

Craig

Hi Craig,

Thank you :) Sometimes the brain just gets vacant. Your help is greatly appreciated.

-Ray
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux