I have a Solaris 10 update 6 system with a snapshot I can''t remove. zfs destroy -f <snap> reports the device as being busy. fuser doesn''t shore any process using the filesystem and it isn''t shared. I can unmount the filesystem OK. Any clues or suggestions of bigger sticks to hit it with? -- Ian.
On Sun, Jan 17, 2010 at 06:21:45PM +1300, Ian Collins wrote:> I have a Solaris 10 update 6 system with a snapshot I can''t remove. > > zfs destroy -f <snap> reports the device as being busy. fuser doesn''t > shore any process using the filesystem and it isn''t shared.Is it the parent snapshot for a clone? -- Dan. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 194 bytes Desc: not available URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20100118/c226aeb9/attachment.bin>
Daniel Carosone wrote:> On Sun, Jan 17, 2010 at 06:21:45PM +1300, Ian Collins wrote: > >> I have a Solaris 10 update 6 system with a snapshot I can''t remove. >> >> zfs destroy -f <snap> reports the device as being busy. fuser doesn''t >> shore any process using the filesystem and it isn''t shared. >> > > Is it the parent snapshot for a clone? > >I''m almost certain it isn''t. I haven''t created any clones and none show in zpool history. -- Ian.
On Mon, Jan 18, 2010 at 05:52:25PM +1300, Ian Collins wrote:>> Is it the parent snapshot for a clone? >> > I''m almost certain it isn''t. I haven''t created any clones and none show > in zpool history.What about snapshot holds? I don''t know if (and doubt whether) these are in S10, but since they produce exactly an EBUSY it''s worth checking. -- Dan -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 194 bytes Desc: not available URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20100119/66aba838/attachment.bin>
Daniel Carosone wrote:> On Mon, Jan 18, 2010 at 05:52:25PM +1300, Ian Collins wrote: > >>> Is it the parent snapshot for a clone? >>> >>> >> I''m almost certain it isn''t. I haven''t created any clones and none show >> in zpool history. >> > > What about snapshot holds? I don''t know if (and doubt whether) these > are in S10, but since they produce exactly an EBUSY it''s worth > checking. > >Good idea but they were added in ZFS pool version 18 (b121). I might have to destroy the filesystem and restore it. Thanks for the input. -- Ian.