Re: [Ocfs2-users] Adding node with storage to existing ocfs2 FS?
You know - as soon as I pressed I remembered that. Sorry for the intrusion. Jeff On Sun, Jun 13, 2010 at 4:24 PM, Joel Becker wrote: > On Sun, Jun 13, 2010 at 04:12:03PM -0400, Jeffrey Layton wrote: > > 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. > > > 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? > > ocfs2 is a shared-storage cluster filesystem. The disks need to > be connected to all nodes that want to share them. ocfs2 does not > share internal disks over the network by itself. > > Joel > > -- > > "Heav'n hath no rage like love to hatred turn'd, nor Hell a fury, > like a woman scorn'd." >- William Congreve > > Joel Becker > Principal Software Developer > Oracle > E-mail: joel.bec...@oracle.com > Phone: (650) 506-8127 > ___ Ocfs2-users mailing list Ocfs2-users@oss.oracle.com http://oss.oracle.com/mailman/listinfo/ocfs2-users
Re: [Ocfs2-users] Adding node with storage to existing ocfs2 FS?
On Sun, Jun 13, 2010 at 04:12:03PM -0400, Jeffrey Layton wrote: > 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. > 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? ocfs2 is a shared-storage cluster filesystem. The disks need to be connected to all nodes that want to share them. ocfs2 does not share internal disks over the network by itself. Joel -- "Heav'n hath no rage like love to hatred turn'd, nor Hell a fury, like a woman scorn'd." - William Congreve Joel Becker Principal Software Developer Oracle E-mail: joel.bec...@oracle.com Phone: (650) 506-8127 ___ Ocfs2-users mailing list Ocfs2-users@oss.oracle.com http://oss.oracle.com/mailman/listinfo/ocfs2-users
[Ocfs2-users] Adding node with storage to existing ocfs2 FS?
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. [r...@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) [r...@test64 ~]# df Filesystem 1K-blocks Used Available Use% Mounted on /dev/hda3 16734276 6437696 9432800 41% / /dev/sda1153834852 7274540 138745896 5% /home /dev/hda1 991960 23512917244 3% /boot tmpfs 3966584 0 3966584 0% /dev/shm /dev/mapper/vg0-lv0_ocfs2 976764928 3116444 973648484 1% /mnt/ocfs2 [r...@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: 3 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 ___ Ocfs2-users mailing list Ocfs2-users@oss.oracle.com http://oss.oracle.com/mailman/listinfo/ocfs2-users