Re: possible to expand a file for vn-device FS usage ?

2002-08-16 Thread Patrick Thomas
Thank you for the very clear explanation. Does there exist a utility to immediately take a partition that has been growfs'd and fix it so that it does not experience this performance penalty ? That is, I am willing to sit and wait 10 minutes while some utility rearranges and reorganizes the

Re: possible to expand a file for vn-device FS usage ?

2002-08-16 Thread Terry Lambert
Patrick Thomas wrote: Thank you for the very clear explanation. Does there exist a utility to immediately take a partition that has been growfs'd and fix it so that it does not experience this performance penalty ? That is, I am willing to sit and wait 10 minutes while some utility

possible to expand a file for vn-device FS usage ?

2002-08-15 Thread Patrick Thomas
I have a 500meg file that I dd'd and have mounted as a vn-device filesystem. I would like to increase this to 1gig, however it is very time consuming to do a dump of the FS to a file, dd a new larger one, then do a restore (I have many special files in the FS, thus the need for dump). Is there

Re: possible to expand a file for vn-device FS usage ?

2002-08-15 Thread Daniel O'Connor
On Thu, 2002-08-15 at 17:04, Patrick Thomas wrote: Any suggestions on how to expand that file without doing the dump/restore steps ? man 8 growfs perchance? :) -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au The nice thing about standards is

Re: possible to expand a file for vn-device FS usage ?

2002-08-15 Thread Terry Lambert
Daniel O'Connor wrote: On Thu, 2002-08-15 at 17:04, Patrick Thomas wrote: Any suggestions on how to expand that file without doing the dump/restore steps ? man 8 growfs perchance? :) You can unmount it, grow the underlying file with: dd if-/dev/zero bs=XXX,count=XXX filename

Re: possible to expand a file for vn-device FS usage ?

2002-08-15 Thread Patrick Thomas
What is the negative effect of this fragmentation, and does it mean I won't be able to use all of the space that I added ? On Thu, 15 Aug 2002, Terry Lambert wrote: Daniel O'Connor wrote: On Thu, 2002-08-15 at 17:04, Patrick Thomas wrote: Any suggestions on how to expand that file

Re: possible to expand a file for vn-device FS usage ?

2002-08-15 Thread Terry Lambert
Patrick Thomas wrote: What is the negative effect of this fragmentation, and does it mean I won't be able to use all of the space that I added ? Old disk: [X X ][XX ][ XX ][X X][ XX] New disk (initial state): [X X ][XX ][ XX ][X X][ XX][][][][][] New disk (after