Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: union mounts, mfs, and newsyslog



On Mon, Jul 6, 2009 at 3:39 AM, matthew 
sporleder<msporleder%gmail.com@localhost> wrote:
> When I run newsyslog I get the following message on my union-mounted
> mfs-over-ffs /var:
> newsyslog: /var/log/wtmpx.1.gz: Cross-device link
>
> From here, I think:
> Â Â Â Â Â Â Â ÂPRINFO(("mv %s %s\n", file1, file2));
> Â Â Â Â Â Â Â Âif (!noaction)
> Â Â Â Â Â Â Â Â Â Â Â Âif (rename(file1, file2))
> Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Âerr(EXIT_FAILURE, "%s", file1);
>
>
> Caused by not having whiteout support on my /var filesystem.
>
> file system: /dev/rwd0a
> endian Âlittle-endian
> magic  11954 (UFS1)  Âtime  ÂSun Jul Â5 21:34:03 2009
> superblock location   8192  Âid   Â[ 49fbaeb3 7b729202 ]
> cylgrp Âdynamic inodes Â4.4BSD Âsblock ÂFFSv2 Â fslevel 4
> nbfree Â8044  Ândir  Â2021  Ânifree Â79762  nffree Â10176
> ncg   10   Âsize  Â466560 Âblocks Â453503
>
>
> But I'm using an MFS:
> /dev/wd0b    /var/log_mfs mfs rw,hidden,-s10M 0 0
> /var/log_mfs  Â/var/log union rw - -
>
> So is it a limitation of mfs, union mounting, or my ffs?
>
> Thanks,
> Matt
>

try mounting it like this:

mount -t mfs -o union swap /var/log_mfs

zafer.


Home | Main Index | Thread Index | Old Index