[Ocfs2-users] ls
leopoldo tosi
leopoldotosi at yahoo.it
Thu Apr 2 06:41:23 PDT 2015
OS ubuntu
ub-ocfs1 and ub-ocfs:~# uname -a
Linux ub-ocfs 3.5.0-17-generic #28-Ubuntu SMP Tue Oct 9 19:31:23 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
on both:
ub-ocfs:~# service o2cb start
Loading stack plugin "user": OK
Loading filesystem "ocfs2_dlmfs": OK
Mounting ocfs2_dlmfs filesystem at /dlm: OK
Setting cluster stack "cman": OK
Loading filesystem "ocfs2": OK
Starting ocfs2_controld.cman: OK
ub-ocfs:~# mount /dev/drbd/by-res/wwwdata /opt/
ub-ocfs:~# service drbd status
drbd driver loaded OK; device status:
version: 8.3.13 (api:88/proto:86-96)
srcversion: 697DE8B1973B1D8914F04DB
m:res cs ro ds p mounted fstype
1:wwwdata Connected Primary/Primary UpToDate/UpToDate C /opt ocfs2
ub-ocfs:~# ls /opt/
local lost+found
ub-ocfs:~# ls /opt/local
Segmentation fault
ub-ocfs:~# ps fa
PID TTY STAT TIME COMMAND
2472 pts/2 Ss 0:00 -bash
2529 pts/2 R+ 0:00 \_ ps fa
2299 pts/1 Ss 0:00 -bash
2356 pts/1 S+ 0:00 \_ -bash
2361 pts/1 D+ 0:00 \_ ls -l /opt/local/etc /opt/local/games /opt/local/include /opt/local/leo1....
the script ls -l /opt/local/*
ub-ocfs:~# cat /opt/local/leo-ocfs6.sh
date ; echo -n
hostname
ls -l
ls -l /opt/local/le*
ls -l /opt/local/*
I can work normal
ub-ocfs1:~# rm -r /opt/local/bin
ub-ocfs1:~# mkdir /opt/local/etc/bin
ub-ocfs1:~# ls /opt/local/leo*
/opt/local/leo1 /opt/local/leo3 /opt/local/leo-ocfs /opt/local/leo-ocfs2 /opt/local/leo-ocfs4 /opt/local/leo-ocfs6
/opt/local/leo2 /opt/local/leo4 /opt/local/leo-ocfs1 /opt/local/leo-ocfs3 /opt/local/leo-ocfs5 /opt/local/leo-ocfs6.sh
but resource is busy if I want restart or unload
ocfs:~# service o2cb unload
Stopping ocfs2_controld.cman: /sbin/start-stop-daemon: warning: this system is not able to track process names
longer than 15 characters, please use --exec instead of --name.
Failed
Unable to unload modules as the cluster is still online
because '2361 pts/1 D+ 0:00 \_ ls -l /opt/local/' is in 'D uninterruptible sleep (usually IO)'
if I want the control back I need reboot host,
anybody have another solution ?-:-(
by
leopoldo tosi
More information about the Ocfs2-users
mailing list