swap at beginning of slice - danger?

Vadim Goncharov vadim_nuclight at mail.ru
Wed Mar 15 12:24:10 UTC 2006


Hello freebsd-stable,

  I have 5.5-PRERELEASE server in production, booting from ad0s1:

 # BLOCKSIZE=512 swapinfo
 Device          512-blocks     Used    Avail Capacity
 /dev/ad0s1b        2097152    52872  2044280     3%
 /dev/ad1s1b        2097152    51952  2045200     2%
 Total              4194304   104824  4089480     2%
 # bsdlabel ad0s1 | fgrep b:
   b:  2097152        0      swap

Previously, on a 4.11 system, swapinfo said that swap size was less than
size of b: partition on a slice - it was ok, as boot sectors are
located at beginning of slice. But now, sizes match exactly. What
changed and is it dangerous nowadays to have swap partition at offset 0 ?

-- 
Best regards,
 Vadim Goncharov   ICQ UIN 166852181   mailto:vadim_nuclight at mail.ru



More information about the freebsd-stable mailing list