resize freebsd slice
Polytropon
freebsd at edvax.de
Fri Jun 11 23:06:00 UTC 2010
On Sat, 12 Jun 2010 01:46:57 +0300, Giorgos Tsiapaliokas <terietor at gmail.com> wrote:
> only /home is in a diferent partition,but i don't care because i don't have
> any file in it (only .xinitrc,but this is not a prob)
>
> i give as a root the command "dump -0Lauf /mnt/hd/FBSD/ /dev/ad0s3a"
>
> but i receive the following error:
>
> DUMP: Date of this level 0 dump: Sat Jun 12 01:39:31 2010
> DUMP: Date of last level 0 dump: the epoch
> DUMP: Dumping snapshot of /dev/ad0s3a (/) to /mnt/hd/FBSD/
> DUMP: mapping (Pass I) [regular files]
> DUMP: mapping (Pass II) [directories]
> DUMP: estimated 6843871 tape blocks.
> DUMP: Cannot open output "/mnt/hd/FBSD/".
> DUMP: Do you want to retry the open?: ("yes" or "no")
>
> i tried to reopen the output but it had no effect.
The answer is right here: DUMP: Cannot open output "/mnt/hd/FBSD/".
You need to specify a file, not a directory. For example, you can
use this command:
# dump -0Lauf /mnt/hd/FBSD/ad0s3a.dump /dev/ad0s3a
You just have to make sure that there's enough space for the dump
file on the device mounted as /mnt/hd.
> P.S.:ad0s3a is my root directory (/)
Then you have all subtrees on your / partition (like /var, /usr).
Correctly, this is what you want to dump.
> s3b is /home and
If you don't need it, don't dump it. :-) Anyway, if its nearly
empty, you won't need much space for the dumpfile.
> s3d is my swap space
Partition d is the swap? It's usually b, but... possible.
--
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
More information about the freebsd-questions
mailing list