David Magda wrote:
>
> Quite often swap and dump are the same device, at least in the  
> installs that I've worked with, and I think the default for Solaris  
> is that if dump is not explicitly specified it defaults to swap, yes?  
> Is there any reason why they should be separate?
>
>   
I beleive there are technical limitations with ZFS Boot that stop them 
from sharing the same Zvol..
> Having two just seems like a waste to me, even with disk sizes being  
> what they are (and growing). A separate dump device is only really  
> needed if something goes completely wrong, otherwise it's just  
> sitting there "doing nothing". If you're panicing, then whatever is  
> in swap is now no longer relevant, so over writing it is no big deal.
>   
That said, with all the talk of dynamic sizing, If, during normal 
operation the swap Zvol has space allocated, and the Dump Zvol is sized 
to 0. Then during a panic, could the swap volume be sized to 0 and the 
dump volume expanded to whatever size?

This at least while still requireing 2 Zvol's would allow (even when the 
rest of the pool is short on space) a close approximation of the old 
behavior of sharing the same slice for both swap and dump.

  -Kyle

> _______________________________________________
> zfs-discuss mailing list
> zfs-discuss@opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
>   

_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to