Re: growfs and soft updates

2008-01-16 Thread Teemu Korhonen

Teemu Korhonen wrote:
I'm merging my ext2-partition with my /usr by shrinking ext2 and doing 
growfs on the free space. I did it with soft updates enabled and it 
seemed to work until I tried to use /usr which resulted in kernel 
panic (ffs_valloc: dup alloc). After plenty of 'fcsk -y' I got it 
fixed while losing few random files. :( The errors were mostly related 
to soft updates.


Should soft updates be disabled before using growfs?



False alarm. It's all the same with soft updates disabled.. I guess 
growfs needs some work.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: growfs and soft updates

2008-01-16 Thread Wojciech Puchar
(ffs_valloc: dup alloc). After plenty of 'fcsk -y' I got it fixed while 
losing few random files. :( The errors were mostly related to soft updates.


Should soft updates be disabled before using growfs?



False alarm. It's all the same with soft updates disabled.. I guess growfs 
needs some work.


ALWAYS fsck after growfs.

growfs is crappy at least, zero out the new space before growfs, but just 
if you can - simply backup data somewhere and use newfs.


growfs is for people that like challenges ;)

i have to use it growing 800GB filesystem to 1400GB, finally (after 
patching it a bit) i did it, but root directory was destroyed (no idea 
why). all subdirs appeared in lost+found so it wasn't a big problem 
then+i've got zero sized file in lost+found that i was unable to delete 
until i took off all strange flash with chflags.


but i did it ONLY because i had no way to back it up.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: growfs and soft updates

2008-01-16 Thread RW
On Wed, 16 Jan 2008 17:48:44 +0100 (CET)
Wojciech Puchar [EMAIL PROTECTED] wrote:

 growfs is for people that like challenges ;)
 
 i have to use it growing 800GB filesystem to 1400GB, finally (after 
 patching it a bit) i did it, but root directory was destroyed (no
 idea why). all subdirs appeared in lost+found so it wasn't a big
 problem then+i've got zero sized file in lost+found that i was unable
 to delete until i took off all strange flash with chflags.
 
 but i did it ONLY because i had no way to back it up.

Personally I don't think it's worth the risk, unless the data is
disposable like a squid cache. What I normally do is create a new
partition and symlink things into it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: growfs and soft updates

2008-01-16 Thread Wojciech Puchar

problem then+i've got zero sized file in lost+found that i was unable
to delete until i took off all strange flash with chflags.

but i did it ONLY because i had no way to back it up.


Personally I don't think it's worth the risk, unless the data is
disposable like a squid cache. What I normally do is create a new
partition and symlink things into it.


it was network users shared directory for movies music etc.
i already told them that i will probably remove it unless they will back 
it up.


so i don't have to worry in case growfs would screw it up completely.

anyway where to send patches? i patched it to support sector size 512 
bytes (i have geli with 4k sectors).

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]