[Ocfs2-users] Adding node with storage to existing ocfs2 FS?
Jeffrey Layton
laytonjb at gmail.com
Sun Jun 13 13:12:03 PDT 2010
Afternoon,
I hate to be a total noob but I've been experimenting and I'm a bit stuck.
I've got a node with a couple of 500GB drives that I've used to create a
logical volume. I formatted the LV with ocfs2 and mounted it and things
look correct so far.
[root at test64 ~]# mount
/dev/hda3 on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/sda1 on /home type ext3 (rw)
/dev/hda1 on /boot type ext2 (rw)
tmpfs on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
configfs on /sys/kernel/config type configfs (rw)
ocfs2_dlmfs on /dlm type ocfs2_dlmfs (rw)
/dev/mapper/vg0-lv0_ocfs2 on /mnt/ocfs2 type ocfs2 (rw,_netdev,heartbeat=local)
[root at test64 ~]# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda3 16734276 6437696 9432800 41% /
/dev/sda1 153834852 7274540 138745896 5% /home
/dev/hda1 991960 23512 917244 3% /boot
tmpfs 3966584 0 3966584 0% /dev/shm
/dev/mapper/vg0-lv0_ocfs2
976764928 3116444 973648484 1% /mnt/ocfs2
[root at test64 ~]# /etc/init.d/o2cb status
Driver for "configfs": Loaded
Filesystem "configfs": Mounted
Stack glue driver: Loaded
Stack plugin "o2cb": Loaded
Driver for "ocfs2_dlmfs": Loaded
Filesystem "ocfs2_dlmfs": Mounted
Checking O2CB cluster ocfs2: Online
Heartbeat dead threshold = 31
Network idle timeout: 30000
Network keepalive delay: 2000
Network reconnect delay: 2000
Checking O2CB heartbeat: Active
Now I want to take a second node that has some internal storage and
add the storage to the ocfs2 pool. Here's where I struggle. Are the basic
steps the following?
1. Install ocfs2-tools and ocfs2console on new node.
2. $service o2cb enable (new node)
3. /etc/init.d/o2cb start (new node)
4. Add new node to cluster configuration on the original and propagate it
to the new node (using ocfs2console).
5. format storage on new node
6. mount device as /mnt/ocfs2 on the new node (same mount point as
orignal node).
When I've tried this I can't seem to add the storage from the second
node to the pool.
Thanks! (and sorry to be such a noob).
Jeff
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://oss.oracle.com/pipermail/ocfs2-users/attachments/20100613/3e3922fd/attachment.html
More information about the Ocfs2-users
mailing list