unable to write or delete any files in the file systems

If you are unable to write/delete any files in the file systems.

Error:
# mount /td/wasTemp
mount: /dev/was7013lv on /wasTemp: I/O error

/logs/httpd: touch abc
touch: abc cannot create
/ogs/httpd:

Resolution:

Step 1 : Stop all the active applications on the server

Step 2: umount <VG name> <Filesystem>

Step 3 : Execute logform -V jfs2 <LV name eg. /dev/lv01>

Running the logform command on any File system JFS/JFS2 inline log device will destroy all records in the device

Step 4 : varyoffvg <VG name>

This varyoffvg command will turn off the Volume Group and make the VG unavailable

Step 5 : exportvg <VG name>

Exports the definition of a volume group from a set of physical volumes.

Step 6 : rmdev -Rdl hdisk2

Remove the hdisk2 entry from the server

Step 7 : cfgmgr

Step 8 : varyonvg <VG name>

This varyonvg command will turn on the Volume Group and make the VG available.

Step 9 : importvg -y <VG name> hdisk2

The importvg command makes the previously exported volume group known to the system

Step 10 : mount File Systems

Remount all the File Systems of <VG name>

No comments:

Post a Comment