Re-Sizing a File System / Partition
Hi!
If we re-size (by that I here mean reducing size not increasing) a File System / Partition using utilities, such as parted, then can the data on that partition be lost? We can reduce the size of an LVM similarly. However, is there any likelihood that the data would not be available after re-sizing the partition? |
Quote:
|
There is always the potential to lose data.
Read the documentation. Generally things like [g]parted are safe, but depends on the filesystem. LVM is a real problem. Best to resize the filesystem using native tools (if available) then the partition. Best of all is decent backups. |
I have tried increasing the size of a partition / an LVM without any loss to the present data. But, well, this one I just tried using parted's resize command and ended up corrupting the partition and then eventually had to remove it permanently. Well, I am not in trouble. It's a local test VM whose backup I had taken before doing any R&D on it. ;)
|
All times are GMT -5. The time now is 06:24 PM. |