LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   PROBLEM: Two directories suddenly point to the same logical volume (http://www.linuxquestions.org/questions/linux-server-73/problem-two-directories-suddenly-point-to-the-same-logical-volume-583994/)

George.evans 09-11-2007 06:43 PM

PROBLEM: Two directories suddenly point to the same logical volume
 
This has happened to us on two machines now and is a real problem as we are attempting to put these machines in production:

Both of these machines are running Linux SuSE 9.3 and will be used as production database servers running Sybase ASE 15

An example of what has happened twice now.

Two of our mounted devices are:

In the system volume group
device /dev/system/sybase_lv is mounted to /sybase

In the vg01 volume group
device /dev/vg01/ARCIVE_DB_data01 is mounted to /DB_DATA/ARCHIVE_DB_data01

/sybase contains several hundred misc files and directories.

/DB_DATA/ARCHIVE_DB_data01 contains just ARCHIVE_DB.dat which is a database file.

One two occassions now after a system boot an ls inside of the /sybase directory shows the ARCHIVE_DB.dat file that should be in /DB_DATA/ARCHIVE_DB_data01. All of the other files that were in /sybase no longer show up.

An ls in /DB_DATA/ARCHIVE_DB_data01 shows the same ARCHIVE_DB.dat file which is as it should be.

If we create a file in /sybase it also shows up in /DB_DATA/ARCHIVE_DB_data01 and visa versa. If we create a file in /DB_DATA/ARCHIVE_DB_data01 it also shows up in /sybase.

It is as though the logical volume that was initially mounted to /sybase is no longer mounted there although yast indicates that it is and the logical volume that is mounted to /DB_DATA/ARCHIVE_DB_data01 is also mounted to /sybase.

Any assistance would be greatly appreciated.

jdiggitydogg 09-23-2007 05:39 PM

what does the mount command report. post your /etc/fstab.

George.evans 09-24-2007 01:29 PM

This is the result of 'mount'
/dev/mapper/system-root_lv on / type ext3 (rw,acl,user_xattr)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
tmpfs on /dev/shm type tmpfs (rw)
devpts on /dev/pts type devpts (rw,mode=0620,gid=5)
/dev/sdb2 on /boot type ext3 (rw,acl,user_xattr)
/dev/mapper/system-home_lv on /home type ext3 (rw,data=writeback,acl,user_xattr)
/dev/mapper/system-local_lv on /local type ext3 (rw,data=writeback,acl,user_xattr)
/dev/mapper/system-opt_lv on /opt type ext3 (rw,data=writeback,acl,user_xattr)
/dev/mapper/system-srv_lv on /srv type ext3 (rw,data=writeback,acl,user_xattr)
/dev/mapper/system-tmp_lv on /tmp type ext3 (rw,data=writeback,acl,user_xattr)
/dev/mapper/system-usr_lv on /usr type ext3 (rw,data=writeback,acl,user_xattr)
/dev/mapper/system-var_lv on /var type ext3 (rw,data=writeback,acl,user_xattr)
/dev/hda on /media/dvd type subfs (ro,nosuid,nodev,fs=cdfss,procuid,iocharset=utf8)
/dev/mapper/vg01-cdac_data01 on /DB_DATA/CDAC_DATA01 type ext3 (rw,noatime,data=writeback,acl,user_xattr)
/dev/mapper/vg01-cdac_log01 on /DB_DATA/CDAC_LOG01 type ext3 (rw,noatime,data=writeback,acl,user_xattr)
/dev/mapper/vg01-CICJIS_DB_data01 on /DB_DATA/CICJIS_DB_DATA01 type ext3 (rw,noatime,data=writeback,acl,user_xattr)
/dev/mapper/vg01-CICJIS_DB_data02 on /DB_DATA/CICJIS_DB_DATA02 type ext3 (rw,noatime,data=writeback,acl,user_xattr)
/dev/mapper/vg01-CICJIS_DB_data03 on /DB_DATA/CICJIS_DB_DATA03 type ext3 (rw,noatime,data=writeback,acl,user_xattr)
/dev/mapper/vg01-CICJIS_DB_data04 on /DB_DATA/CICJIS_DB_DATA04 type ext3 (rw,noatime,data=writeback,acl,user_xattr)
/dev/mapper/vg01-CICJIS_DB_data05 on /DB_DATA/CICJIS_DB_DATA05 type ext3 (rw,noatime,data=writeback,acl,user_xattr)
/dev/mapper/vg01-CICJIS_DB_data06 on /DB_DATA/CICJIS_DB_DATA06 type ext3 (rw,noatime,data=writeback,acl,user_xattr)
/dev/mapper/vg01-CICJIS_DB_log01 on /DB_DATA/CICJIS_DB_LOG01 type ext3 (rw,noatime,data=writeback,acl,user_xattr)
/dev/mapper/vg01-cops_data01 on /DB_DATA/COPS_DATA01 type ext3 (rw,noatime,data=writeback,acl,user_xattr)
/dev/mapper/vg01-cops_data02 on /DB_DATA/COPS_DATA02 type ext3 (rw,noatime,data=writeback,acl,user_xattr)
/dev/mapper/vg01-master_dev on /DB_DATA/MASTER_DEV type ext3 (rw,noatime,data=writeback,acl,user_xattr)
/dev/mapper/vg01-sybsystemdb_data01 on /DB_DATA/SYBSYSTEMDB_DEV type ext3 (rw,noatime,data=writeback,acl,user_xattr)
/dev/mapper/vg01-sybsystemdb_log01 on /DB_DATA/SYBSYSTEMDB_LOG01 type ext3 (rw,noatime,data=writeback,acl,user_xattr)
/dev/mapper/vg01-tempdb_dev on /DB_DATA/TEMPDB_DEV type ext3 (rw,noatime,data=writeback,acl,user_xattr)
/dev/mapper/system-sybase_lv on /sybase type ext3 (rw,data=writeback,acl,user_xattr)
/dev/mapper/vg01-JUDICIAL_DATA01 on /DB_DATA/JUDICIAL_DATA01 type ext3 (rw,noatime,data=writeback,acl,user_xattr)
/dev/mapper/vg01-DSS_DATA01 on /DB_DATA/DSS_data01 type ext3 (rw,noatime,data=writeback,acl,user_xattr)
/dev/mapper/vg01-DSS_log01 on /DB_DATA/DSS_log01 type ext3 (rw,noatime,data=writeback,acl,user_xattr)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/mapper/vg01-cops_log01 on /DB_DATA/COPS_LOG01 type ext3 (rw)

This is the /etc/fstab:

/dev/system/root_lv / ext3 acl,user_xattr 1 1
/dev/sdb2 /boot ext3 acl,user_xattr 1 2
/dev/system/home_lv /home ext3 data=writeback,acl,user_xattr 1 2
/dev/system/local_lv /local ext3 data=writeback,acl,user_xattr 1 2
/dev/system/opt_lv /opt ext3 data=writeback,acl,user_xattr 1 2
/dev/system/srv_lv /srv ext3 data=writeback,acl,user_xattr 1 2
/dev/system/tmp_lv /tmp ext3 data=writeback,acl,user_xattr 1 2
/dev/system/usr_lv /usr ext3 data=writeback,acl,user_xattr 1 2
/dev/system/var_lv /var ext3 data=writeback,acl,user_xattr 1 2
/dev/sdb1 swap swap pri=42 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
proc /proc proc defaults 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
sysfs /sys sysfs noauto 0 0
/dev/dvd /media/dvd subfs fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0
/dev/vg01/cdac_data01 /DB_DATA/CDAC_DATA01 ext3 noatime,data=writeback,acl,user_xattr 1 2
/dev/vg01/cdac_log01 /DB_DATA/CDAC_LOG01 ext3 noatime,data=writeback,acl,user_xattr 1 2
/dev/vg01/CICJIS_DB_data01 /DB_DATA/CICJIS_DB_DATA01 ext3 noatime,data=writeback,acl,user_xattr 1 2
/dev/vg01/CICJIS_DB_data02 /DB_DATA/CICJIS_DB_DATA02 ext3 noatime,data=writeback,acl,user_xattr 1 2
/dev/vg01/CICJIS_DB_data03 /DB_DATA/CICJIS_DB_DATA03 ext3 noatime,data=writeback,acl,user_xattr 1 2
/dev/vg01/CICJIS_DB_data04 /DB_DATA/CICJIS_DB_DATA04 ext3 noatime,data=writeback,acl,user_xattr 1 2
/dev/vg01/CICJIS_DB_data05 /DB_DATA/CICJIS_DB_DATA05 ext3 noatime,data=writeback,acl,user_xattr 1 2
/dev/vg01/CICJIS_DB_data06 /DB_DATA/CICJIS_DB_DATA06 ext3 noatime,data=writeback,acl,user_xattr 1 2
/dev/vg01/CICJIS_DB_log01 /DB_DATA/CICJIS_DB_LOG01 ext3 noatime,data=writeback,acl,user_xattr 1 2
/dev/vg01/cops_data01 /DB_DATA/COPS_DATA01 ext3 noatime,data=writeback,acl,user_xattr 1 2
/dev/vg01/cops_data02 /DB_DATA/COPS_DATA02 ext3 noatime,data=writeback,acl,user_xattr 1 2
/dev/vg01/master_dev /DB_DATA/MASTER_DEV ext3 noatime,data=writeback,acl,user_xattr 1 2
/dev/vg01/sybsystemdb_data01 /DB_DATA/SYBSYSTEMDB_DEV ext3 noatime,data=writeback,acl,user_xattr 1 2
/dev/vg01/sybsystemdb_log01 /DB_DATA/SYBSYSTEMDB_LOG01 ext3 noatime,data=writeback,acl,user_xattr 1 2
/dev/vg01/sysprocsdev /DB_DATA/SYSPROCS_DEV ext3 noatime,data=writeback,acl,user_xattr,/DB_DATA/SYSPROCS_DEV 1 2
/dev/vg01/tempdb_dev /DB_DATA/TEMPDB_DEV ext3 noatime,data=writeback,acl,user_xattr 1 2
/dev/system/sybase_lv /sybase ext3 data=writeback,acl,user_xattr 1 2
/dev/vg01/JUDICIAL_DATA01 /DB_DATA/JUDICIAL_DATA01 ext3 noatime,data=writeback,acl,user_xattr 1 2
/dev/vg01/DSS_DATA01 /DB_DATA/DSS_data01 ext3 noatime,data=writeback,acl,user_xattr 1 2
/dev/vg01/DSS_log01 /DB_DATA/DSS_log01 ext3 noatime,data=writeback,acl,user_xattr 1 2
/dev/vg01/cops_log01 /DB_DATA/COPS_LOG01 ext3 noatime,data=writeback,acl,user_xattr 1 2


All times are GMT -5. The time now is 02:58 AM.