Hi,

I am wondering a few things.
I have this SAN that needs te be mounted on 2 different machine`s.
Both machine`s are interconnected by FC 4gb cards.
Noiw I`ve created a filesystem on the SAN and mounted it on both machine`s.

server1:
/data on /dev/dsk/c6t600508B4001074880000E000000D0000d0s2 
read/write/setuid/devices/intr/largefiles/logging/xattr/onerror=panic/dev=8400c2
 
on Wed Sep  5 13:56:49 2007

server2:

/data on /dev/dsk/c6t600508B4001074880000E000000D0000d0s2 
read/write/setuid/devices/intr/largefiles/logging/xattr/onerror=panic/dev=8404c2
 
on Wed Sep  5 13:53:00 2007

The problem I am facing is that the mountpoints don`t seem to be in sync with 
eachother.
When I add a new file or directory on server 1 on the mounted filesystem it 
doesn`t show on the mounted filesystem on server 2.

server1:/data# touch foo
server1:/data# file foo
foo:                empty file

server1:/data# ls -asl /data
total 24
   2 drwxr-xr-x   5 root     root         512 Sep  5 14:20 .
   2 drwxr-xr-x  27 root     root         512 Sep  5 11:47 ..
   0 -rw-------   1 root     root           0 Sep  5 14:20 foo
  16 drwx------   2 root     root        8192 Sep  5 13:29 lost+found
   2 drwxr-xr-x   3 root     root         512 Sep  5 13:40 solaris

server2:/data# ls -asl
total 24
   2 drwxr-xr-x   5 root     root         512 Sep  5 13:40 .
   2 drwxr-xr-x  27 root     root        1024 Sep  5 12:48 ..
  16 drwx------   2 root     root        8192 Sep  5 13:29 lost+found
   2 drwxr-xr-x   3 root     root         512 Sep  5 13:40 solaris

When I unmount the /data filesystem on server2 and mount it again the file is 
shown.

server2:/data# cd
server2:~# umount /data
server2:~# mount /data
server2:~# ls -asl /data
total 24
   2 drwxr-xr-x   5 root     root         512 Sep  5 13:40 .
   2 drwxr-xr-x  27 root     root        1024 Sep  5 12:48 ..
   0 -rw-------   1 root     root           0 Sep  5  2007 foo
  16 drwx------   2 root     root        8192 Sep  5 13:29 lost+found
   2 drwxr-xr-x   3 root     root         512 Sep  5 13:40 solaris

This is the line I use in my vfstab, perhaps I am missing some flags?

# HP SAN
/dev/dsk/c6t600508B4001074880000E000000D0000d0s2        
/dev/rdsk/c6t600508B4001074880000E000000D0000d0s2       /data   
ufs     -       yes     logging

Thanks

Matt
_______________________________________________
opensolaris-help mailing list
[email protected]

Reply via email to