Sun Microsystems 5310 NAS Server User Manual


 
Chapter 2 NAS Head 2-77
After deleting files, volume free space remains the same.
The most likely cause of this is the checkpoint feature. Checkpoints store deleted and
changed data for a defined period of time so that customers can retrieve deleted files
and prior versions for data security. This means that the data is not removed from
disk until the checkpoint is expired, a maximum of two weeks. If you are deleting
data to free disk space, it will be necessary to remove or disable checkpoints.
Can’t delete a file.
If a file cannot be deleted, the first thing to check is security. Make sure that the
deleting user has the appropriate rights. Files can also be deleted from the command
line. For details on this procedure.
In some cases, a “file not found” message will be generated when attempting to
delete a file, even from the command line. Usually, this is due to an invalid character
in the filename that cannot be parsed. To delete such a file, use the “\” character. Use
any of the command line utilities, and proceed the illegal character with “\”. An
example of an illegal character would be a colon, a comma or a double quote.
An exception to this is the “$” character in a filename. In this case, the character
must be preceded with another “$” in order for it to be accessible via command line
operations.
There is one more item to be aware of when referencing filenames at the CLI. If the
filename contains one or more spaces, the entire argument must be enclosed in
quotes.
Example: del “/vol1/sales/my big file name”
Can’t delete files from /etc directory.
This is by design as many of these files are required for proper system operations.
There may some times that files must be deleted, especially when configuring host
files and user files manually. To enable deletion of files from the etc directory the
immutable bet must be set.
From the command line type in “cleari /voname/etc/”
Now files can be deleted. Caution must be exercised it is not recommended to delete
files from the etc.