SLES 11 BASE Error -3011 setting label

I’m trying to update my SLES 11 base (VM) to SLES 11 SP2 and the installer says I should have partitions mounted by device-name. So I go to change this in Yast and I choose mount by label.
I get:

Failure occurred during following action:
Setting label on /dev/sda1 to SwapDisk
System error code was -3011.

I’m logged in as root. y2log has:

2017-01-12 11:54:27 <1> suse11x64-smh(4630) [libstorage] Storage.cc(dumpObjectList):200 Partition Device:/dev/sda1 Nr:1 SizeK:2104483 Node <8:1> fs:swap mount:swap mount_by:label orig_mount_by:device label:SwapDisk fstopt:defaults alt_names:</dev/disk/by-path/pci-0000:00:10.0-scsi-0:0:0:0-part1> Start:0 CylNum:262 Id:82
2017-01-12 11:54:27 <1> suse11x64-smh(4630) [libstorage] Storage.cc(dumpObjectList):200 Partition Device:/dev/sda2 Nr:2 SizeK:39833167 Node <8:2> fs:reiserfs mount:/ uuid:605b01b6-2e93-4fa7-a772-613a11b0527a fstopt:acl,user_xattr alt_names:</dev/disk/by-path/pci-0000:00:10.0-scsi-0:0:0:0-part2 /dev/disk/by-uuid/605b01b6-2e93-4fa7-a772-613a11b0527a> Start:262 CylNum:4959 Id:83 boot
2017-01-12 11:54:27 <1> suse11x64-smh(4630) [libstorage] Storage.cc(dumpObjectList):201 END DETECTED OBJECTS
2017-01-12 11:54:27 <1> suse11x64-smh(4630) [libstorage] Storage.cc(commit):3789 ret:-3011
2017-01-12 11:54:27 <3> suse11x64-smh(4630) [YCP] Storage.ycp:3725 CommitChanges sint ret:-3011
2017-01-12 11:54:27 <1> suse11x64-smh(4630) [YCP] clients/inst_prepdisk.ycp:121 CommitChanges ret:-3011

Any help gratefully received.

Simon

Just to be clear, you do not NEED to use labels, or UUIDs, in order to do
the upgrade. It’s recommended, particularly in environments with multiple
disks from SANs, because the load order of a disk is not guaranteed, and a
label or UUID makes the reference to that partition absolute rather than
relative to an arbitrary order of the system finding disks that are not
even local to it.

With that written, perhaps try going to SP4 instead of SP2 in case there
is a bug. Other than that, I cannot find anything great on my
already-SP-something-later system that would be error 3011, or from that
Storage.ycp line that points to an obvious problem (on my system that line
is in a method that loads a dialog box, maybe for an error, which may be
the same as yours and similarly unhelpful).


Good luck.

If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below…

On 12/01/17 12:49, ab wrote:
[color=blue]

With that written, perhaps try going to SP4 instead of SP2 in case there
is a bug.[/color]

Except to get to SLES11 SP4 from SLES11 something before SP2 means
having to upgrade via SP2 …

HTH.

Simon
SUSE Knowledge Partner


If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below. Thanks.

On 12/01/17 12:24, simonheffer wrote:
[color=blue]

I’m trying to update my SLES 11 base (VM) to SLES 11 SP2 and the
installer says I should have partitions mounted by device-name. So I go
to change this in Yast and I choose mount by label.
I get:

Failure occurred during following action:
Setting label on /dev/sda1 to SwapDisk
System error code was -3011.

I’m logged in as root. y2log has:

2017-01-12 11:54:27 <1> suse11x64-smh(4630) [libstorage]
Storage.cc(dumpObjectList):200 Partition Device:/dev/sda1 Nr:1
SizeK:2104483 Node <8:1> fs:swap mount:swap mount_by:label
orig_mount_by:device label:SwapDisk fstopt:defaults
alt_names:</dev/disk/by-path/pci-0000:00:10.0-scsi-0:0:0:0-part1>
Start:0 CylNum:262 Id:82
2017-01-12 11:54:27 <1> suse11x64-smh(4630) [libstorage]
Storage.cc(dumpObjectList):200 Partition Device:/dev/sda2 Nr:2
SizeK:39833167 Node <8:2> fs:reiserfs mount:/
uuid:605b01b6-2e93-4fa7-a772-613a11b0527a fstopt:acl,user_xattr
alt_names:</dev/disk/by-path/pci-0000:00:10.0-scsi-0:0:0:0-part2
/dev/disk/by-uuid/605b01b6-2e93-4fa7-a772-613a11b0527a> Start:262
CylNum:4959 Id:83 boot
2017-01-12 11:54:27 <1> suse11x64-smh(4630) [libstorage]
Storage.cc(dumpObjectList):201 END DETECTED OBJECTS
2017-01-12 11:54:27 <1> suse11x64-smh(4630) [libstorage]
Storage.cc(commit):3789 ret:-3011
2017-01-12 11:54:27 <3> suse11x64-smh(4630) [YCP] Storage.ycp:3725
CommitChanges sint ret:-3011
2017-01-12 11:54:27 <1> suse11x64-smh(4630) [YCP]
clients/inst_prepdisk.ycp:121 CommitChanges ret:-3011

Any help gratefully received.[/color]

Just so we’re clear which version of SLES11 are you wanting to upgrade -
your post suggests SLES11 SP0. Please can you post the output from “cat
/etc/*release”.

HTH.

Simon
SUSE Knowledge Partner


If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below. Thanks.

Am 12.01.2017 um 13:24 schrieb simonheffer:[color=blue]

I’m trying to update my SLES 11 base (VM) to SLES 11 SP2 and the
installer says I should have partitions mounted by device-name. So I go
to change this in Yast and I choose mount by label.
I get:

Failure occurred during following action:
Setting label on /dev/sda1 to SwapDisk
System error code was -3011.

I’m logged in as root. y2log has:

2017-01-12 11:54:27 <1> suse11x64-smh(4630) [libstorage]
Storage.cc(dumpObjectList):200 Partition Device:/dev/sda1 Nr:1
SizeK:2104483 Node <8:1> fs:swap mount:swap mount_by:label
orig_mount_by:device label:SwapDisk fstopt:defaults
alt_names:</dev/disk/by-path/pci-0000:00:10.0-scsi-0:0:0:0-part1>
Start:0 CylNum:262 Id:82
2017-01-12 11:54:27 <1> suse11x64-smh(4630) [libstorage]
Storage.cc(dumpObjectList):200 Partition Device:/dev/sda2 Nr:2
SizeK:39833167 Node <8:2> fs:reiserfs mount:/
uuid:605b01b6-2e93-4fa7-a772-613a11b0527a fstopt:acl,user_xattr
alt_names:</dev/disk/by-path/pci-0000:00:10.0-scsi-0:0:0:0-part2
/dev/disk/by-uuid/605b01b6-2e93-4fa7-a772-613a11b0527a> Start:262
CylNum:4959 Id:83 boot
2017-01-12 11:54:27 <1> suse11x64-smh(4630) [libstorage]
Storage.cc(dumpObjectList):201 END DETECTED OBJECTS
2017-01-12 11:54:27 <1> suse11x64-smh(4630) [libstorage]
Storage.cc(commit):3789 ret:-3011
2017-01-12 11:54:27 <3> suse11x64-smh(4630) [YCP] Storage.ycp:3725
CommitChanges sint ret:-3011
2017-01-12 11:54:27 <1> suse11x64-smh(4630) [YCP]
clients/inst_prepdisk.ycp:121 CommitChanges ret:-3011

Any help gratefully received.

Simon

[/color]
Is this a virtual guest in vmware by chance? If yes, ignore the warning,
moving forward using SDX is fine in a vm.

CU,

Massimo Rosen
Micro Focus Knowledge Partner
No emails please!
http://www.cfc-it.de