Create a Softlink to Move some Library Folder
Dear all,
I'm running out of disk space in root, so I decide to move /usr/lib64 directory to other partition by creating moving the whole directory to new location and create a softlink in the old location. What I'm planning to do is: 1. Copy the whole directory to new location 2. Make sure if there's no problem in the copy process 3. Create a softlink in the old location pointing to the new location. However, when I'm comparing the old location and the new location using du command, there's some discrepancies between those two where the new location contain bigger size than the old one. How is this possible? Is this the proper way to save disk space by creating a softlink? Regards, ethereal1m |
Wouldn't it make more sense just to resize partitions? Or are you worried about data loss?
|
Quote:
Quote:
Quote:
|
@snark, hmm I'm considering the option...
@i92guboj, 1. I move files from ext4 to xfs file system not sure if this a problem 2. I'm using "cp -R". Is this ok? hmm,the discrepancy df output is probably because the different file system types (ext4 and XFS) maybe? Let me take a look at mount and fstab option... |
Quote:
Quote:
Quote:
|
Thanks for all, you guys are awesome!
This works great! sorry for the late reply... regards, ethereal1m |
All times are GMT -5. The time now is 10:52 PM. |