Current-Users archive

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

Re: tunefs throws mount error



On Thu, 6 Aug 2020 at 14:50, Thomas Klausner <tk%giga.or.at@localhost> wrote:
>
> On Thu, Aug 06, 2020 at 01:21:34PM +0100, Chavdar Ivanov wrote:
> > On Thu, 6 Aug 2020 at 13:51, Thomas Klausner <wiz%netbsd.org@localhost> wrote:
> > >
> > > Hi!
> > >
> > > I've added a new disk and newfsed it. Then I ran tunefs and saw:
> > >
> > > # tunefs -o time /dev/rdk10
> > > tunefs: tuning /dev/rdk10
> > > tunefs: optimization preference remains unchanged as time
> > > tunefs: mount: Invalid argument
> >
> > $ uname -a
> > NetBSD nbuild.lorien.lan 9.99.69 NetBSD 9.99.69 (GENERIC) #0: Mon Aug
> > 3 20:46:23 BST 2020
> > sysbuild@ymir:/home/sysbuild/amd64/obj/home/sysbuild/src/sys/arch/amd64/compile/GENERIC
> > amd64
> > $ tunefs -o time /dev/rdk1
> > tunefs: tuning /dev/rdk1
> > tunefs: optimization preference remains unchanged as time
> > tunefs: mount of /dev/dk1 on / updated
> > $ tunefs -o time /dev/rdk4
> > tunefs: tuning /dev/rdk4
> > tunefs: optimization preference remains unchanged as time
> > tunefs: mount of /dev/dk1 on / updated
> >
> > (also worked on a system from earlier today).
> >
> > >
> > > I don't remember seeing this last line before.
> > > 9.99.69/amd64
>
> Hm, my /dev/dk10 is not mounted.

Another hm... I did the same with a non-mounted slice and got:

# tunefs -o time /dev/rdk5
tunefs: tuning /dev/rdk5
tunefs: optimization preference remains unchanged as time
tunefs: mount of /dev/dk1 on / updated   <======

Otherwise the slice gets mounted.



>  Thomas



-- 
----


Home | Main Index | Thread Index | Old Index