Bug 210986 - Conflict ZFS with GEOM ?
Summary: Conflict ZFS with GEOM ?
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: CURRENT
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-bugs mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-10 19:51 UTC by natt
Modified: 2016-07-10 19:51 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description natt 2016-07-10 19:51:29 UTC
/root# gpart show
=>       63  234441585  ada0  MBR  (112G)
         63          1        - free -  (512B)
         64  234441576     1  freebsd  [active]  (112G)
  234441640          8        - free -  (4.0K)

=>        0  234441576  ada0s1  BSD  (112G)
          0  230686720       1  freebsd-zfs  (110G)
  230686720    3754856          - free -  (1.8G)

/root# gpart add -t freebsd-swap ada0s1
/root# gpart show
=>       63  234441585  ada0  MBR  (112G)
         63          1        - free -  (512B)
         64  234441576     1  freebsd  [active]  (112G)
  234441640          8        - free -  (4.0K)

=>        0  234441576  ada0s1  BSD  (112G)
          0  230686720       1  freebsd-zfs  (110G)
  230686720    3754856       2  freebsd-swap  (1.8G)

/root# reboot

/* FreeBSD will not boot */
...
Mounting from zfs:zroot failed with error 22.

Loader variables:
	vfs.root.mountfrom=zfs:zroot
...

/* Recovery from usb memstick: */

# gpart delete -i 2 ada0s1
# reboot

/* and FreeBSD boot back into normal */