> >I am quickly running out of space on my (newly installed) SAMBA file
> >server. The /homes directory is where all my usage is occuring. Is
> >it legal/acceptable to add another harddrive to the system, run mke2fs
> >on it, and have my fstab mount it as /homes? I don't want to loose
> >any existing information that is in /homes, just expand the storage
> >capacity that is already there.
> Run mke2fs and mount the drive someplace else, like mnt/hdb1 or whatever.
> Then cp -pr /home /mnt/hdb1.
> After you verify that the copy went asplanned, you can rm everything in the
> /home directory, umount the new drive, mount it in /home, and you should be
> done.
> If anybody knows a better way, I'd like to hear it too ;-)
> Glen
It might be prudent to do a test mount before deleting the files. The old
files will be hidden by the mount operation & you can test to see if
everything went OK. Then unmount after you're satisfied & remove the old
files. Make sure to edit /etc/fstab to add the new mount.
--
---
Minneapolis, MN USA | http://www.visi.com/~tomw/
Finger me for my PGP public key |