When the LV status is abnormal during the database management process and the LV cannot be used again, what are the two LV statuses in AIX?
If open is required to access fs, that is, to create a file system and mount the file system lv state, it is open/syncd;
If raw is accessed, that is, lv is used as a raw device and the lv state is open/syncd, it indicates that an application is in use,
For example, you can run Oracle or run the dd command to operate on it. If you do not use oracle, the lv state is closed/syncd if you stop Oracle.
------- OPEN is displayed only when it is used. Instead of using OPEN.
When the lv is accessed, it indicates that open. hd5 displays closed/syncd after AIX is started, and open is started.
If there is access, OPEN it. If there is no access, CLOSE it.
Access is not allowed only when OPEN is enabled, but when OPEN is accessed, close is displayed if no access is made.
If the file system is not mounted, It is not accessed. When the file system is mounted, there is access-mount is the most basic access.
The status of the Special LV in jfslog is controlled by the LVM and cannot be changed by the user. Normally, the file system corresponding to jfslog is open.
Note that the hd5-Type lv state is normally closed/syncd.
# Lsvg-l rootvg
Rootvg:
Lv name type LPs PPs PVs LV STATE MOUNT POINT
Hd5 boot 1 1 1 closed/syncd N/
Hd6 paging 16 16 1 open/syncd N/
Hd8 jfs2log 1 1 1 open/syncd N/
Hd4 jfs2 1 1 1 open/syncd/
Hd2 jfs2 13 13 1 open/syncd/usr
Hd9var jfs2 1 1 open/syncd/var
Hd3 jfs2 1 1 1 open/syncd/tmp
Hd1 jfs2 1 1 1 open/syncd/home
Hd10opt jfs2 3 3 1 open/syncd/opt