Quote:
Originally Posted by bradvan
Is there a way to increase the number of inodes without having to remake the file system?
|
As already mentioned: I don't believe so.
If you have a remote host with a large amount of free disk space, you can dump(8) the filesystem, re-create it with a more appropriate usage type (e.g.
-T news), and then restore(8) the filesystem.
Example dump(8)
(assuming /local/path contains the filesystem to back up)
Code:
# export RSH=/usr/bin/ssh
# dump -0uanz -f user@remote.host:/remote/path/bkup.dump /local/path
Example restore(8)
(
after recreating the filesystem and mounting it to /local/path)
Code:
# cd /local/path
# export RSH=/usr/bin/ssh
# restore -rlvf user@remote.host:/remote/path/bkup.dump
If it's a logical volume, back up a snapshot of it. If it's not a logical volume, mount it read-only before the dump(8). You don't want it changing halfway through your backup.