Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Aug 2016 15:58:03 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-geom@FreeBSD.org
Subject:   [Bug 162690] [geom] gpart label changes only take effect after a reboot
Message-ID:  <bug-162690-14739-3Ur5ykJP3M@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-162690-14739@https.bugs.freebsd.org/bugzilla/>
References:  <bug-162690-14739@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D162690

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

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

--- Comment #6 from Ben RUBSON <ben.rubson@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 d=
isk.

# 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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-162690-14739-3Ur5ykJP3M>