LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 09-11-2007, 05:43 PM   #1
George.evans
LQ Newbie
 
Registered: Sep 2007
Posts: 4

Rep: Reputation: 0
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.

Last edited by George.evans; 09-12-2007 at 09:47 AM. Reason: Added OS version information
 
Old 09-23-2007, 04:39 PM   #2
jdiggitydogg
Member
 
Registered: Sep 2007
Posts: 42

Rep: Reputation: 15
what does the mount command report. post your /etc/fstab.
 
Old 09-24-2007, 12:29 PM   #3
George.evans
LQ Newbie
 
Registered: Sep 2007
Posts: 4

Original Poster
Rep: Reputation: 0
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
 
  


Reply

Tags
devices, directory, disk, lvm, mount


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
i tried resizeing my logical volume, rahman.athiq Linux - General 1 07-13-2007 03:18 PM
Problem mounting a logical volume with JFS sumta Linux - General 3 10-05-2006 11:49 AM
how to reduce logical volume LinuxLover Linux - Enterprise 2 10-29-2005 08:26 AM
swapping on a logical volume garba Linux - General 1 06-28-2005 06:36 PM
Logical Volume Management jatimon Linux - General 0 04-17-2002 02:57 PM


All times are GMT -5. The time now is 10:27 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration