Re: dump/restore with ufs2

From: Ceri Davies (ceri_at_submonkey.net)
Date: 12/31/04

  • Next message: Marc Fonvieille: "Re: USB scanner not attached when connected after system startup]"
    Date: Fri, 31 Dec 2004 15:05:51 +0000
    To: Roland Smith <rsmith@xs4all.nl>
    
    
    

    On Thu, Dec 30, 2004 at 09:53:38PM +0100, Roland Smith wrote:
    > On Thu, Dec 30, 2004 at 05:54:25PM +0000, Ceri Davies wrote:
    > > On Tue, Dec 28, 2004 at 01:23:50PM -0500, Brian Szymanski wrote:
    > > > When I run the following script, I get a warning message, and I'm
    > > > wondering if it's ignorable or indicates there is a little more work to be
    > > > done in getting dump/restore happy with ufs2...
    > > >
    > > > $ cd /altroot
    > > > $ dump -L -0 -a -f - /dev/$ROOT | restore -rf -
    > > > ...
    > > > warning: ./.snap: File exists
    > > >
    > > > Does this mean my snapshots are being overwritten on the target disk? And
    > > > if so, that's a good thing, right?
    > >
    > > That's just a warning that .snap already exists in the current directory
    > > (which is because it gets created by newfs); the contents will remain
    > > unaffected since snapshots are not dumped (I believe).
    >
    > A snapshot _is_ what is being dumped when you use the -L option to
    > dump. See the manual page.

    I know that. I meant that snapshots are not included in the dump.

    Ceri

    -- 
    Only two things are infinite, the universe and human stupidity, and I'm
    not sure about the former.			  -- Einstein (attrib.)
    
    



  • Next message: Marc Fonvieille: "Re: USB scanner not attached when connected after system startup]"

    Relevant Pages

    • Re: problem creating filesystem snapshot
      ... I needed to dump the partitions on a running FreeBSD 6.1R system so I ... then able to run dump against the new snap file and all seemed ok. ... tried the same thing on a 225GB partition. ... There were problems reported with snapshots of large filesystems in earlier releases but I have no idea of the status of any fixes/changes or what constituted "large". ...
      (freebsd-questions)
    • ufsdump and snapshots
      ... With the arrival of snapfs we started to make ufsdumps of snapshots ... instead directly off the filesystem, in order to have a consistant ... ufsrestore complained that the level 1 dump was not realy based on ...
      (SunManagers)
    • Re: mystery: lock up after fs dump
      ... there are gjournaled filesystems on both systems ... I haven't seen hard system lock-ups when using dump (the -L on UFS2 ... snapshots on UFS2, and that the problem over time gets worse and worse. ...
      (freebsd-stable)
    • Re: Recurring problem: processes block accessing UFS file system
      ... >>Looks like a UFS snapshot deadlock. ... Are you running something like dump ... when snapshots are not implicated. ... and 'alltrace' is the easiest way to obtain stack traces ...
      (freebsd-stable)
    • Re: Problem with dump over SSH: Operation timed out
      ... Nikos Vassiliadis wrote: ... This statement is far too general and IMHO does a disservice to those who worked on snapshots. ... There were issues with large numbers of snapshots or with large filesystems, but in that case *dump would never have started* as the snapshot wouldn't have completed. ... If you have the disk space then you could try without any compression at all; or try doing the compression remotely: ...
      (freebsd-questions)