Cant delete fssnap snapshot after running out of space

From: Mike Fulce (m.fulce@usm.edu)
Date: Fri Nov 17 2006 - 20:37:25 EST


Solaris 8

 

We issue the following command to take snapshot for backups each night

 

DATA_SNAP=`/usr/sbin/fssnap -F ufs -o
bs=/snapshots/backing_stores/data_snapshot,unlink /data`

/usr/sbin/mount -F ufs -o ro $DATA_SNAP /snapshots/data

 

Normally, during the tape backup process, there is not a lot of activity on
/data.

 

After the tape backup process is finished, the snapshot is removed

 

/usr/sbin/umount /snapshots/data

fssnap -d /data

 

However, during an application upgrade process, a great deal of data was
being written and rewritten to /data while at the same time,

a temporary backup copy of the data in /snapshots/data was being written to
another disk.

 

During the copy process, an error occurred stating that the device
/snapshots/data/filename was an invalid device. Inspection of
/snapshots/data showed no files.

 

At the same time, a "df -k "on the /snapshots mount showed it was at 100%
capacity.

 

/dev/md/dsk/d90 35293316 35293263 0 100% /snapshots

 

I accepted that the snapshot was lost and tried to delete it using fssnap -d
/data, but received the error:

 

fssnap: ioctl: error 2: No such file or directory

 

fssnap -i also shows nothing.

 

How can I delete this snapshot if I can't reference it?

 

The only thing I've been able to find is that the snapshot would be delete
by a reboot, but this is not the option I was hoping for at this time.

 

_______________________________________________________

Mike Fulce iTech-ESU
DBA Manager University of Southern Mississippi
m.fulce@usm.edu Voice:(601) 266-6102 Fax:(601) 266-6755
118 College Dr #10001 201B Forrest County Hall

Hattiesburg, MS 39406
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:41:12 EDT