Date: Sat, 12 Jun 2010 01:05:50 +0200 From: Polytropon <freebsd@edvax.de> To: Giorgos Tsiapaliokas <terietor@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: resize freebsd slice Message-ID: <20100612010550.66693718.freebsd@edvax.de> In-Reply-To: <AANLkTilkAufZnPGRdl89m-Sx1LnIO6V7oBrFH2B48sav@mail.gmail.com> References: <AANLkTilkAufZnPGRdl89m-Sx1LnIO6V7oBrFH2B48sav@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 12 Jun 2010 01:46:57 +0300, Giorgos Tsiapaliokas <terietor@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, ...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100612010550.66693718.freebsd>
