--
Gabri Mate
[EMAIL PROTECTED]
On 04:19 Sun 06 Jul     , Denny White wrote:
> > > Quoted from Gabri Mate on Sun, Jul 06, 2008 at 02:25:55AM +0200,:
> > > > Hey There List,
> > > >
> > > > I've made an /altroot partition, exactly the same size as my /, and
it
> > > > is also mounted. I've put ROOTBACKUP=1 in root's crontab, but my /
> > > > partition doesn't get dumped on /altroot at the daily cron's run. I
have
> > > > 4.3 release.
> > > > Is there something i'm missing?
> > > > --
> > > > Gabri Mate
> > > > [EMAIL PROTECTED]
> > > >
> > > > [demime 1.01d removed an attachment of type
application/pgp-signature]
> > > >
> > >
> > > Read this portion of /etc/daily:
> > >
> > > # If ROOTBACKUP is set to 1 in the environment, and
> > > # if filesystem named /altroot is type ffs, on /dev/* and mounted "xx",
> > > # use it as a backup root filesystem to be updated daily.
> > >
> > > And, if you read fstab(5) you'll see this:
> > >
> > > "If fs_type is specified as ``xx'' the entry is ignored."
> > >
> > > So, fs_type should be xx in your fstab, right? You didn't include
> > > your fstab, but that sounds like what the problem is; i.e., you
> > > don't have that in yours and altroot is mounting normally.
> > >
> Quoted from Gabri Mate on Sun, Jul 06, 2008 at 09:03:28AM +0200,:
> > Yes, looks like this is the problem.
> > I've setup /altroot during installation, and i didn't bother editing
> > fstab.
> > /altroot looks like this:
> >
> > /dev/wd0d /altroot ffs rw 1 2
> >
> > So i should change ffs to xx, right?
>
> No, you need to read the terminologies a little closer on fstab.
> Anyway, it should look like this:
>
> /dev/wd0d /altroot ffs xx 0 0
>
> Mine is on a separate drive. I figure if my main drive craps out,
> what good will /altroot on that drive do me. My fstab looks like:
>
> /dev/wd1a /altroot ffs xx 0 0
>
> Hope that helps. You should've cc'd misc@ too, when you wrote back.
> Anyway, I don't mind corresponding off list. Also, you'll have to
> umount the /altroot too. After that, either wait & see what happens
> when daily runs, or run it yourself beforehand, either manually or
> change roots crontab temporarily. If that doesn't work, you might
> have to reboot. Never ran into that problem before since I had it
> set up right from the get go, but that was just luck. I had already
> read that part specifically somewhere (can't recall right now) and
> was concerned about backups right from the start. Just for my own
> curiosity, let me know if you wind up having to reboot for it to
> take, okay? ttyl
>
>
> Denny White
>
> --
>
> Bill Gates is a very rich man today... and do you want to know why?
> The answer is one word: versions.  Dave Barry
>
> All messages scanned by ClamAssassin
> http://jameslick.com/clamassassin/
> ===============================================================
> GnuPG key  : 0x1644E79A  |  http://wwwkeys.nl.pgp.net
> Fingerprint: D0A9 AD44 1F10 E09E 0E67  EC25 CB44 F2E5 1644 E79A
> ===============================================================
>
>
Thank You!

I'll check it and report back about the need of a reboot.

[demime 1.01d removed an attachment of type application/pgp-signature]

Reply via email to