[Bug 162690] [geom] gpart label changes only take effect after a reboot

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Aug 17 15:58:03 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=162690

Ben RUBSON <ben.rubson at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ben.rubson at gmail.com

--- Comment #6 from Ben RUBSON <ben.rubson at gmail.com> ---
Hello,

Same sort of issue with glabel (labels in /dev/label).

// let's create a label.
# glabel label /dev/gpt/mydisk mylabel
# ls -l /dev/label/mylabel
crw-r-----  1 root  operator  0xa5 17 Aug 15:32 /dev/label/mylabel

// let's put /dev/gpt/mydisk into /etc/ctl.conf to export it as an iSCSI
target.
# service ctld onestart
Starting ctld.

# ls -l /dev/label/mylabel
ls: /dev/label/mylabel: No such file or directory
// expected, because at this time the label is part of the exported iSCSI disk.

# service ctld onestop
Stopping ctld.
# ls -l /dev/label/mylabel
ls: /dev/label/mylabel: No such file or directory
// not expected, label should be available at this time !

Issue is present in both 10.3 and 11-RC1.

Is there any way to notify / update labels ?

Many thanks !

Ben

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-geom mailing list