Bug 254624 - Detaching an iSCSI-connected swap should be refused
Summary: Detaching an iSCSI-connected swap should be refused
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: CURRENT
Hardware: arm Any
: --- Affects Only Me
Assignee: freebsd-scsi (Nobody)
Depends on:
Reported: 2021-03-28 13:20 UTC by Martin Birgmeier
Modified: 2021-03-29 02:35 UTC (History)
2 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Martin Birgmeier 2021-03-28 13:20:35 UTC
- FreeBSD main ca. March 13, armv6 running on Raspberry Pi model B+
- Adding network storage using "iscsictl -A -n <name>"
- Swapping to that storage via "swapon /dev/daNpX"
- Inadvertently issuing "iscsictl -R -n <name>"

- The disk carrying the swap space is removed without warning
- The system deadlocks

Expected result:
- The "iscsictl -R ..." should result in an error message and be refused.

-- Martin