You are not logged in.

Good evening,
wanted to do a second Arch install with the live medium from August.
With the following command
mkfs.ext4 /dev/sdb6I got the error that /dev/sdb6 did not exist.
Using 'blkid' showed my harddisks in another order as normal; the first harddisk had switched to third place.
I tried some other Arch install CD's, who all gave me the correct order of the harddisks, finally did the install
with the June-CD.
Is this something that can be categorized as a bug?
EDIT: changed the subjec title to be able to add [solved]
Last edited by henk (2013-08-18 05:45:58)
Offline
I think that proper way to find the order is by searcching using uuid because it won't change after boot, with naming as /dev/sdXY, for an exmaple, on my desktop, each boot live cd with various linux distrubtion results with different hard disk order.
Offline

Label option works as well. Check out tune2fs man page to show you have to label . Then update accordingly in /etc/fstab :
# 
# /etc/fstab: static file system information
#
# <file system>	<dir>	<type>	<options>	<dump>	<pass>
tmpfs		/tmp	tmpfs	nodev,nosuid,mode=1777,size=4G	0	0
# OCZ : SSD -- /dev/sda
LABEL="Arch" 	/	ext4	defaults,discard	0	1 
#LABEL="Home" 	/home	ext4	defaults	0	1 
LABEL="swapfs" 	none	swap	defaults	0	1
# Main Storage
LABEL="E-Space"	/media/E-Space	ext4	defaults	0	1
LABEL="Kids"	/media/Kids	ext4	defaults	0	1  
LABEL="N-Space"	/media/N-Space	ext4	defaults	0	1 
# Back Up
LABEL="Archive-I"	/media/Archive-I	ext4	defaults	0	1
LABEL="Archive-II"	/media/Archive-II	ext4	defaults	0	1  
# 4-13-13 : blkid output 
#/dev/sda1: LABEL="Archive-II" UUID="3753b46d-50fd-45ee-a672-67e5d11bd2e4" TYPE="ext4" 
#/dev/sdb1: LABEL="N-Space" UUID="f9162168-c544-4915-9d55-6d25c69bb085" TYPE="ext4" 
#/dev/sdc1: LABEL="Arch" UUID="3717c2cf-68fd-42a3-bcd7-e61bab0f0671" TYPE="ext4" 
#/dev/sdc2: LABEL="swapfs" UUID="fb273afe-a043-4984-9aa7-aa205cabe94d" TYPE="swap" 
#/dev/sdd1: LABEL="Archive-I" UUID="09f4b284-e484-45c5-a815-8a52302e587d" TYPE="ext4" 
#/dev/sde1: LABEL="E-Space" UUID="274fad3c-4e8a-4eb3-bc18-5bcede01230f" TYPE="ext4" 
#/dev/sdf1: LABEL="Kids" UUID="baffddef-3e27-43dc-b6e7-7d7bc081d06b" TYPE="ext4" Life is pleasant. Death is peaceful. It's the transition that's troublesome. Isaac Asimov - / -
Offline

Let me try to explain this way
# blkid
/dev/sda1: LABEL="LOCAL" UUID="01CDDAABD9166A00" TYPE="ntfs" 
/dev/sda5: LABEL="PERSONAL" UUID="01CDDAABFCD9B000" TYPE="ntfs" 
/dev/sda6: UUID="626073e6-9a2a-4ec5-ad45-327a414e0817" TYPE="ext4" 
/dev/sda7: UUID="6dc85df7-c200-4d38-b783-df60b19a5a15" TYPE="ext4" 
/dev/sda8: LABEL="data" UUID="44cbe753-4633-4abe-a052-80fc64bbd7d2" TYPE="ext4" 
/dev/sdb5: UUID="98cf4163-c1c6-4ec2-9d86-a18048a4fb3b" TYPE="ext4" 
/dev/sdb6: UUID="88241da6-a473-48b5-9b2d-d6ebf89b4856" TYPE="ext4" PTTYPE="dos" 
/dev/sdb7: UUID="a477211d-57b7-4df5-8ae2-483d16b24766" TYPE="ext4" PTTYPE="dos" 
/dev/sdb8: UUID="b845fddd-3041-430a-b75d-e21e2962aa2d" TYPE="ext4" PTTYPE="dos" 
/dev/sdb9: UUID="d9a4917b-9e4c-4805-b4fa-4df6b3b19aaf" TYPE="ext4" 
/dev/sdb10: UUID="6697f481-ede5-4f58-8f93-5eb4912bb136" TYPE="ext4" 
/dev/sdb11: UUID="55c199f8-c58c-4778-b4bf-6ab9d2aea8b3" TYPE="ext4" 
/dev/sdb12: UUID="379e1e70-bc47-451a-a11a-9fda6089e769" TYPE="ext4" 
/dev/sdb13: UUID="d4b8b28b-035c-42d3-8048-31ea1348024f" TYPE="ext4" 
/dev/sdb14: UUID="a3df1047-16a4-4008-aa5d-647170dd4ddc" TYPE="ext4" 
/dev/sdb15: LABEL="backup" UUID="8709125b-498d-4b8c-84e7-263977464961" TYPE="ext4" 
/dev/sdc1: LABEL="CACHE" UUID="288A31408A310C36" TYPE="ntfs" 
/dev/sdc5: LABEL="BACKUP" UUID="01CDA5DF9897FD00" TYPE="ntfs" This is shown to me using the Arch cd's from December, January, February,April, June plus my existing Arch install.
When I use the cd from August I get
# blkid
/dev/sda5: UUID="98cf4163-c1c6-4ec2-9d86-a18048a4fb3b" TYPE="ext4" 
/dev/sda6: UUID="88241da6-a473-48b5-9b2d-d6ebf89b4856" TYPE="ext4" PTTYPE="dos" 
/dev/sda7: UUID="a477211d-57b7-4df5-8ae2-483d16b24766" TYPE="ext4" PTTYPE="dos" 
/dev/sda8: UUID="b845fddd-3041-430a-b75d-e21e2962aa2d" TYPE="ext4" PTTYPE="dos" 
/dev/sda9: UUID="d9a4917b-9e4c-4805-b4fa-4df6b3b19aaf" TYPE="ext4" 
/dev/sda10: UUID="6697f481-ede5-4f58-8f93-5eb4912bb136" TYPE="ext4" 
/dev/sda11: UUID="55c199f8-c58c-4778-b4bf-6ab9d2aea8b3" TYPE="ext4" 
/dev/sda12: UUID="379e1e70-bc47-451a-a11a-9fda6089e769" TYPE="ext4" 
/dev/sda13: UUID="d4b8b28b-035c-42d3-8048-31ea1348024f" TYPE="ext4" 
/dev/sda14: UUID="a3df1047-16a4-4008-aa5d-647170dd4ddc" TYPE="ext4" 
/dev/sda15: LABEL="backup" UUID="8709125b-498d-4b8c-84e7-263977464961" TYPE="ext4" 
/dev/sdb1: LABEL="CACHE" UUID="288A31408A310C36" TYPE="ntfs" 
/dev/sdb5: LABEL="BACKUP" UUID="01CDA5DF9897FD00" TYPE="ntfs" 
/dev/sdc1: LABEL="LOCAL" UUID="01CDDAABD9166A00" TYPE="ntfs" 
/dev/sdc5: LABEL="PERSONAL" UUID="01CDDAABFCD9B000" TYPE="ntfs" 
/dev/sdc6: UUID="626073e6-9a2a-4ec5-ad45-327a414e0817" TYPE="ext4" 
/dev/sdc7: UUID="6dc85df7-c200-4d38-b783-df60b19a5a15" TYPE="ext4" 
/dev/sdc8: LABEL="data" UUID="44cbe753-4633-4abe-a052-80fc64bbd7d2" TYPE="ext4" Nothing has changed as of wiring or in the BIOS. I have several other distro's installed, hence the
number of partitions on sdb; they all installed giving the correct HHD order.
I just thought it to be a bit weird that using one particular cd gave a different order.
Offline

It's a different kernel, so it's not really "weird" that things happen differently. The sdX designations have always been a bit random.
Online

It's a different kernel, so it's not really "weird" that things happen differently. The sdX designations have always been a bit random.
And this is why you should use filesystem labels... or UUIDs.
Offline

Fair enough. Marking this as solved; it wasn't really a problem to begin with, just an observation.
Offline
For more info see https://wiki.archlinux.org/index.php/Pe … ice_naming
Offline