|
|
Heads Up PSARC/2004/776 Device checking for fs utlititiesDate: Thu, 27 Oct 2005 09:56:06 -0600 From: Sarah Jelinek <Sarah dot Jelinek at Sun dot COM> To: on-all at eng dot sun dot com, onnv-gate at onnv dot eng dot sun dot com Subject: Heads Up PSARC/2004/776 Device checking for fs utlitities My putback for PSARC/2004/776- Device in use checking for fs utilities, means that the following utilities will now have device 'in use' checking: -swap -dumpadm -format -mkfs -newfs This new functionality means that now, prior to executing these commands, the device specified will be checked for current usage by the following applications: -zpool -SVM -VxVM -Live Upgrade -dump -swap -/etc/vfstab entry -mounted filesystems Depending on the utility, these may or may not constitute 'in use'. Please see PSARC/2004/776 for full details for each named utility. What this means is that you may see an error where previously you did not. For example, if you have an entry in /etc/vfstab you may have forgotten about, and you try to newfs that device, newfs will fail and indicate you must modify /etc/vfstab prior to using the specified device. This project is in alignment with the current way the ZFS zpool utility works and is part of an overall effort to help our users to not step on themselves when using these potentially destructive utilities. Included with this putback are the changes for, PSARC/2005/461-libdiskmgt should enable bypassing of in use checking. With this you can set NOINUSE_CHECK = 1 variable value in your environment prior to running the above utilities and it will not do any in use checking for the specified device. It is not recommended you use this flag as it may lead to unintended use of a device. Solaris Install and Live Upgrade have been modified to override the device in use checking for now, so there should be no issues with standard install and live upgrade. BFU is unaffected. For those of you who run TSufs testing, you must set the NOINUSE_CHECK flag prior to running these tests for now, until a fix is integrated in to TSufs for this new functionality. It is expected that this fix will happen soon. Any questions or issues, please contact me. Thank You, sarah |