/dev/mapper/nvidia_baaccajap7 37G 29G 6.2G 83% /home
/dev/mapper/nvidia_baaccajap12 581G 56G 496G 11% /data /dev/mapper/nvidia_baaccajap11 7.1G 145M 6.6G 3% /home/david/pvt
Plan:
cp -a /home /data
I think I'd change to -Rp or use a dual tar method... do you also want the contents of (former) data back in the data dir? I don't see a way of that getting changed. perhaps : cd / mkdir /data/MOVEIT mv /data/* /data/MOVEIT mv /home/* /data mv /data/MOVEIT /home edits... umount/mount. but a caveaqt about users logged in/processes running out of /home and/or /data.
vi /etc/inittab (change partition mounts data->home, home->data)
I assume you mean fstab, but noting here.
reboot
no real need to reboot, per se. if you login as root or create a special use user ID that doesn't have /home for home dir.. and nothing's open/running from /home (or /data) then just umount /data ; umount /home ; mount /home ; mount /data
Seems incredibly simple - see any gotchas?
-- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-- Even the Magic 8 ball has an opinion on email clients: Outlook not so good. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org