GFS2 Mounting Issues
Hello,
I'm running into issues trying to mount my newely created GFS2 partition that resides on our SAN. We have a 2 node cluster configured.
Here are the steps I took into creating and trying to mount the GFS2 partition;
pvcreate /dev/sdb
vgcreate -c n LinuxCluster /dev/sdb
lvcreate -L 1G LinuxCluster
lvcreate -L 9.99T LinuxCluster
mkfs.gfs2 -j 2 -p lock_dlm -t Linux-Cluster:ExportCluster /dev/LinuxCluster/lvol1
mkfs.gfs2 -j 2 -p lock_dlm -t Linux-Cluster:CTDB /dev/LinuxCluster/lvol0
when I try to do the following command to mount it the command just hangs and does nothing until I kill it.
mount.gfs2 -o noatime /dev/mapper/LinuxCluster-1vol1 /export
When I do an strace on it I get the following information;
execve("/sbin/mount.gfs2", ["mount.gfs2", "-o", "noatime", "/dev/mapper/LinuxCluster-lvol1", "/export"], [/* 34 vars */]) = 0
brk(0) = 0xced000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f78da730000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=105636, ...}) = 0
mmap(NULL, 105636, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f78da716000
close(3) = 0
open("/lib64/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\360\355\1\2336\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1918016, ...}) = 0
mmap(0x369b000000, 3741864, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x369b000000
mprotect(0x369b189000, 2093056, PROT_NONE) = 0
mmap(0x369b388000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x188000) = 0x369b388000
mmap(0x369b38d000, 18600, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x369b38d000
close(3) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f78da715000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f78da714000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f78da713000
arch_prctl(ARCH_SET_FS, 0x7f78da714700) = 0
mprotect(0x369b388000, 16384, PROT_READ) = 0
mprotect(0x369aa1f000, 4096, PROT_READ) = 0
munmap(0x7f78da716000, 105636) = 0
brk(0) = 0xced000
brk(0xd0f000) = 0xd0f000
lstat("/dev", {st_mode=S_IFDIR|0755, st_size=4040, ...}) = 0
lstat("/dev/mapper", {st_mode=S_IFDIR|0755, st_size=220, ...}) = 0
lstat("/dev/mapper/LinuxCluster-lvol1", {st_mode=S_IFLNK|0777, st_size=7, ...}) = 0
readlink("/dev/mapper/LinuxCluster-lvol1", "../dm-7", 4095) = 7
lstat("/dev/dm-7", {st_mode=S_IFBLK|0660, st_rdev=makedev(253, 7), ...}) = 0
brk(0xd0e000) = 0xd0e000
lstat("/export", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/export", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/dev/dm-7", O_RDONLY) = 3
lseek(3, 65536, SEEK_SET) = 65536
read(3, "\1\26\31p\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0d\0\0\0\0\0\0\7\t\0\0\7l"..., 512) = 512
close(3) = 0
rt_sigprocmask(SIG_BLOCK, [INT], [], 8) = 0
socket(PF_FILE, SOCK_STREAM, 0) = 3
connect(3, {sa_family=AF_FILE, path=@"gfsc_sock"}, 12) = 0
write(3, "\o\o\1\0\1\0\7\0\0\0\0\0\0\0`p\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 28768) = 28768
read(3,
I'm missing something in this but I just can't see it.
If there is anymore information I can give please let me know.
Thanks.