Re: [Ocfs2-users] Number of Nodes defined
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
Re: [Ocfs2-users] Number of Nodes defined
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
Re: [Ocfs2-users] Number of Nodes defined
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
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
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
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] Number of Nodes defined
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