Michael Schmarck <michael.schmarck@here.la> wrote:
> Hello.
>
> On a Solaris 9 machine, I'm trying to create a UFS snapshot of my
> /var, /usr and /opt filesystems. They all fail like this:
>
> # fssnap -F ufs -o backing-store=/.backup/backing-stores/opt /opt
> fssnap: ioctl: error 16: Device busy
>
> Why do I get that error message? What's so busy, that a snapshot
> cannot be created?
fssnap locks the filesystem before the snapshot. If the lock fails, so
does the snap.
> I read somewhere, that a running NTP daemon might cause this
> problem - but there's no NTPd running on that box.
>
> $ ps -ef | grep -v grep | grep ntp
> $
NTP causes this issue because it normally runs in the realtime
scheduling class. And you can't lock devices that an RT process has
open. What do you get for this output?
$ ps -e -o 'pid,class,args' | grep ' RT '
304 RT /usr/lib/inet/xntpd
3073 TS grep RT
You may not have NTP running, but perhaps some other RT class is.
--
Darren Dunham
ddunham@taos.com
Senior Technical Consultant TAOS
http://www.taos.com/
Got some Dr Pepper? San Francisco, CA bay area
< This line left intentionally blank to confuse you. >