Re: [Ocfs2-users] Number of Nodes defined

2011-11-17 Thread David
Sunil, et al,

The reason I needed to make this changed was because the ocfs2 
partition, which is 101G in size with 41G currently in use ran out of 
disk space even though the OS was reporting 60G available.

I had this issue once before and found that the node slot of that 
cluster was set to 4 even though there were only 2 nodes in the 
cluster.  When i reduced the node slots to 2 disk space was freed up.

I made these changes to this cluster; reduced the node slots to 2 and 
everything worked until this morning when the same error returned No 
space left on device.

The OS is still showing available disk space but as the error suggests i 
can't write to the partition.

Any idea what could be happening?

On 11/16/2011 05:45 PM, Sunil Mushran wrote:
 Reducing node-slots frees up the journal and distributes the metadata
 that that slot was tracking to the remaining slots. I am not aware of
 any reason why there should be an impact.

 On 11/16/2011 03:07 PM, David wrote:
 I did read the man page for tunefs.ocfs2 but I didn't see anything 
 indicating what the impact to the fs would be when making a change to 
 an existing fs such as reducing the node slots.

 Anyway, thank you for the feedback, I was able to make the changes 
 with no impact to the fs.

 David

 On 11/16/2011 12:12 PM, Sunil Mushran wrote:
 man tunefs.ocfs2

 It cannot be done in an active cluster. But it can be done without 
 having to
 reformat the volume.

 On 11/16/2011 10:08 AM, David wrote:
 I wasn't able to find any documentation that answers whether or not 
 the
 number of nodes defined for a cluster,  can be reduced on an active
 cluster as seen via:

 tunefs.ocfs2 -Q %B %T %N\n

 Does anyone know if this can be done, or do I have to copy the data 
 off
 of the fs, make the changes, reformat the fs and copy the data back?

 ___
 Ocfs2-users mailing list
 Ocfs2-users@oss.oracle.com
 http://oss.oracle.com/mailman/listinfo/ocfs2-users



___
Ocfs2-users mailing list
Ocfs2-users@oss.oracle.com
http://oss.oracle.com/mailman/listinfo/ocfs2-users


Re: [Ocfs2-users] Number of Nodes defined

2011-11-17 Thread Sunil Mushran
It must be the same fragmentation issue that we've addressed in 1.6 and later.
Is this 1.4?

On 11/17/2011 08:45 AM, David wrote:
 Sunil, et al,

 The reason I needed to make this changed was because the ocfs2 partition, 
 which is 101G in size with 41G currently in use ran out of disk space even 
 though the OS was reporting 60G available.

 I had this issue once before and found that the node slot of that cluster was 
 set to 4 even though there were only 2 nodes in the cluster.  When i reduced 
 the node slots to 2 disk space was freed up.

 I made these changes to this cluster; reduced the node slots to 2 and 
 everything worked until this morning when the same error returned No space 
 left on device.

 The OS is still showing available disk space but as the error suggests i 
 can't write to the partition.

 Any idea what could be happening?

 On 11/16/2011 05:45 PM, Sunil Mushran wrote:
 Reducing node-slots frees up the journal and distributes the metadata
 that that slot was tracking to the remaining slots. I am not aware of
 any reason why there should be an impact.

 On 11/16/2011 03:07 PM, David wrote:
 I did read the man page for tunefs.ocfs2 but I didn't see anything 
 indicating what the impact to the fs would be when making a change to an 
 existing fs such as reducing the node slots.

 Anyway, thank you for the feedback, I was able to make the changes with no 
 impact to the fs.

 David

 On 11/16/2011 12:12 PM, Sunil Mushran wrote:
 man tunefs.ocfs2

 It cannot be done in an active cluster. But it can be done without having 
 to
 reformat the volume.

 On 11/16/2011 10:08 AM, David wrote:
 I wasn't able to find any documentation that answers whether or not the
 number of nodes defined for a cluster,  can be reduced on an active
 cluster as seen via:

 tunefs.ocfs2 -Q %B %T %N\n

 Does anyone know if this can be done, or do I have to copy the data off
 of the fs, make the changes, reformat the fs and copy the data back?

 ___
 Ocfs2-users mailing list
 Ocfs2-users@oss.oracle.com
 http://oss.oracle.com/mailman/listinfo/ocfs2-users




___
Ocfs2-users mailing list
Ocfs2-users@oss.oracle.com
http://oss.oracle.com/mailman/listinfo/ocfs2-users


[Ocfs2-users] OCFS2 + CMAN/PCMK Kernel Error

2011-11-17 Thread Nick Khamis
Hello Everyone,

Coming accross this once in a while. It's the test environemnt so not
very important, and
it does take a lot of abuse. Maybe it's of interest to someone.


Starting cluster:
   Checking if cluster has been disabled at boot... [  OK  ]
   Checking Network Manager... [  OK  ]
   Global setup... [  OK  ]
   Loading kernel modules... [  OK  ]
   Mounting configfs... [  OK  ]
   Starting cman... [  OK  ]
   Waiting for quorum... [  OK  ]
   Starting fenced... [  OK  ]
   Starting dlm_controld... [  OK  ]
   Starting ocfs2_controld... [  OK  ]

Message from syslogd@astdrbd2 at Nov 17 14:36:40 ...
 kernel:[17218.168905] Oops:  [#1] SMP

Message from syslogd@astdrbd2 at Nov 17 14:36:40 ...
 kernel:[17218.168905] last sysfs file: /sys/fs/ocfs2/max_locking_protocol

Message from syslogd@astdrbd2 at Nov 17 14:36:40 ...
 kernel:[17218.168905] Process ocfs2_controld. (pid: 6636, ti=c5d7e000
task=c5667740 task.ti=c5d7e000)

Message from syslogd@astdrbd2 at Nov 17 14:36:40 ...
 kernel:[17218.168905] Stack:

Message from syslogd@astdrbd2 at Nov 17 14:36:40 ...
 kernel:[17218.168905] Call Trace:

Message from syslogd@astdrbd2 at Nov 17 14:36:40 ...
 kernel:[17218.168905] Code: 4e 00 c9 75 c3 fe 05 d0 51 00 c9 89 f8 5b
5e 5f 5d c3 53 b8 d0 51 00 c9 89 cb e8 e8 a0 26 f8 8b 15 d8 51 00 c9
31 c0 85 d2 74 1c 0f b6 42 01 50 0f b6 02 50 68 8f 48 00 c9 68 00 10
00 00 53 e8

Message from syslogd@astdrbd2 at Nov 17 14:36:40 ...
 kernel:[17218.168905] EIP: [c9004274]
ocfs2_max_locking_protocol_show+0x19/0x3d [ocfs2_stackglue] SS:ESP
0068:c5d7ff48

Cheers,

Nick.

___
Ocfs2-users mailing list
Ocfs2-users@oss.oracle.com
http://oss.oracle.com/mailman/listinfo/ocfs2-users


Re: [Ocfs2-users] Number of Nodes defined

2011-11-17 Thread David
Sunil,

Its 1.4

On 11/17/2011 11:35 AM, Sunil Mushran wrote:
 It must be the same fragmentation issue that we've addressed in 1.6 
 and later.
 Is this 1.4?

 On 11/17/2011 08:45 AM, David wrote:
 Sunil, et al,

 The reason I needed to make this changed was because the ocfs2 
 partition, which is 101G in size with 41G currently in use ran out of 
 disk space even though the OS was reporting 60G available.

 I had this issue once before and found that the node slot of that 
 cluster was set to 4 even though there were only 2 nodes in the 
 cluster.  When i reduced the node slots to 2 disk space was freed up.

 I made these changes to this cluster; reduced the node slots to 2 and 
 everything worked until this morning when the same error returned No 
 space left on device.

 The OS is still showing available disk space but as the error 
 suggests i can't write to the partition.

 Any idea what could be happening?

 On 11/16/2011 05:45 PM, Sunil Mushran wrote:
 Reducing node-slots frees up the journal and distributes the metadata
 that that slot was tracking to the remaining slots. I am not aware of
 any reason why there should be an impact.

 On 11/16/2011 03:07 PM, David wrote:
 I did read the man page for tunefs.ocfs2 but I didn't see anything 
 indicating what the impact to the fs would be when making a change 
 to an existing fs such as reducing the node slots.

 Anyway, thank you for the feedback, I was able to make the changes 
 with no impact to the fs.

 David

 On 11/16/2011 12:12 PM, Sunil Mushran wrote:
 man tunefs.ocfs2

 It cannot be done in an active cluster. But it can be done without 
 having to
 reformat the volume.

 On 11/16/2011 10:08 AM, David wrote:
 I wasn't able to find any documentation that answers whether or 
 not the
 number of nodes defined for a cluster,  can be reduced on an active
 cluster as seen via:

 tunefs.ocfs2 -Q %B %T %N\n

 Does anyone know if this can be done, or do I have to copy the 
 data off
 of the fs, make the changes, reformat the fs and copy the data back?

 ___
 Ocfs2-users mailing list
 Ocfs2-users@oss.oracle.com
 http://oss.oracle.com/mailman/listinfo/ocfs2-users




___
Ocfs2-users mailing list
Ocfs2-users@oss.oracle.com
http://oss.oracle.com/mailman/listinfo/ocfs2-users