Date: Mon, 11 Aug 2014 14:29:38 -0400 From: Mike Tancsa <mike@sentex.net> To: freebsd-fs@freebsd.org Subject: missing partition labels ? Message-ID: <53E90B92.6060904@sentex.net>
next in thread | raw e-mail | index | archive | help
For some reason, when I moved my disks to a new chassis, the partition lables disappeared from my disks. The server boots up fine, as it is a mirrored zfs system. zpool status shows pool: zroot state: ONLINE scan: none requested config: NAME STATE READ WRITE CKSUM zroot ONLINE 0 0 0 mirror-0 ONLINE 0 0 0 diskid/DISK-WD-WCC3F4085561p3 ONLINE 0 0 0 diskid/DISK-WD-WCC3F4063296p3 ONLINE 0 0 0 errors: No known data errors which is correct. However, I no longer see the partition lables associated with /dev/adap# It used to look like # ls -l /dev/ada* crw-r----- 1 root operator - 0x64 Aug 8 17:32 /dev/ada0 crw-r----- 1 root operator - 0x67 Aug 8 17:32 /dev/ada0p1 crw-r----- 1 root operator - 0x69 Aug 8 17:32 /dev/ada0p2 crw-r----- 1 root operator - 0x6b Aug 8 17:32 /dev/ada0p3 crw-r----- 1 root operator - 0x6d Aug 11 12:45 /dev/ada0p4 crw-r----- 1 root operator - 0x6f Aug 8 17:32 /dev/ada1 crw-r----- 1 root operator - 0x76 Aug 8 17:32 /dev/ada1p1 crw-r----- 1 root operator - 0x78 Aug 8 17:32 /dev/ada1p2 crw-r----- 1 root operator - 0x7a Aug 8 17:32 /dev/ada1p3 crw-r----- 1 root operator - 0x7c Aug 11 12:45 /dev/ada1p4 now it looks like # ls -l /dev/ada* crw-r----- 1 root operator - 0x5b Aug 11 14:18 /dev/ada0 crw-r----- 1 root operator - 0x5f Aug 11 14:18 /dev/ada1 crw-r----- 1 root operator - 0x67 Aug 11 14:18 /dev/ada2 crw-r----- 1 root operator - 0x73 Aug 11 14:18 /dev/ada3 The problem is, I cant get HAST to use the diskid so my replication is broken now. # ls -l diskid/ total 1 dr-xr-xr-x 2 root wheel - 512 Aug 11 14:18 . dr-xr-xr-x 9 root wheel - 512 Aug 11 14:18 .. crw-r----- 1 root operator - 0x5e Aug 11 14:18 DISK-S1ANNSAF225153X crw-r----- 1 root operator - 0x69 Aug 11 14:18 DISK-S1ANNSAF225154J crw-r----- 1 root operator - 0x7d Aug 11 14:18 DISK-WD-WCC3F4063296 crw-r----- 1 root operator - 0x86 Aug 11 14:18 DISK-WD-WCC3F4063296p1 crw-r----- 1 root operator - 0x87 Aug 11 14:18 DISK-WD-WCC3F4063296p2 crw-r----- 1 root operator - 0x88 Aug 11 14:18 DISK-WD-WCC3F4063296p3 crw-r----- 1 root operator - 0x89 Aug 11 14:18 DISK-WD-WCC3F4063296p4 crw-r----- 1 root operator - 0x6a Aug 11 14:18 DISK-WD-WCC3F4085561 crw-r----- 1 root operator - 0x75 Aug 11 14:18 DISK-WD-WCC3F4085561p1 crw-r----- 1 root operator - 0x76 Aug 11 14:18 DISK-WD-WCC3F4085561p2 crw-r----- 1 root operator - 0x77 Aug 11 14:18 DISK-WD-WCC3F4085561p3 crw-r----- 1 root operator - 0x78 Aug 11 14:18 DISK-WD-WCC3F4085561p4 It errors out with [disk1] (secondary) Unable to open diskid/DISK-WD-WCC3F4085561p4: No such file or directory. Somehow the geom name got changed ? Geom name: diskid/DISK-WD-WCC3F4063296 modified: false state: OK fwheads: 16 fwsectors: 63 last: 1953525134 first: 34 entries: 128 scheme: GPT Providers: 1. Name: diskid/DISK-WD-WCC3F4063296p1 Mediasize: 110592 (108K) Sectorsize: 512 Stripesize: 4096 Stripeoffset: 0 Mode: r0w0e0 rawuuid: ecad0d84-143b-11e4-8068-001e6784c8ca rawtype: 83bd6b9d-7f41-11dc-be0b-001560b84f0f label: (null) length: 110592 offset: 20480 type: freebsd-boot index: 1 end: 255 start: 40 2. Name: diskid/DISK-WD-WCC3F4063296p2 Mediasize: 8589934592 (8.0G) Sectorsize: 512 Stripesize: 4096 Stripeoffset: 0 Mode: r0w0e0 rawuuid: ecc230d3-143b-11e4-8068-001e6784c8ca rawtype: 516e7cb5-6ecf-11d6-8ff8-00022d09712b label: (null) length: 8589934592 offset: 131072 type: freebsd-swap index: 2 end: 16777471 start: 256 3. Name: diskid/DISK-WD-WCC3F4063296p3 Mediasize: 214748364800 (200G) Sectorsize: 512 Stripesize: 4096 Stripeoffset: 0 Mode: r1w1e1 rawuuid: ecdb4192-143b-11e4-8068-001e6784c8ca rawtype: 516e7cba-6ecf-11d6-8ff8-00022d09712b label: (null) length: 214748364800 offset: 8590065664 type: freebsd-zfs index: 3 end: 436207871 start: 16777472 4. Name: diskid/DISK-WD-WCC3F4063296p4 Mediasize: 776866435072 (724G) Sectorsize: 512 Stripesize: 4096 Stripeoffset: 0 Mode: r0w0e0 rawuuid: 5450e916-1461-11e4-93aa-001e6784c8ca rawtype: 516e7cba-6ecf-11d6-8ff8-00022d09712b label: (null) length: 776866435072 offset: 223338430464 type: freebsd-zfs index: 4 end: 1953525127 start: 436207872 Consumers: 1. Name: diskid/DISK-WD-WCC3F4063296 Mediasize: 1000204886016 (932G) Sectorsize: 512 Stripesize: 4096 Stripeoffset: 0 Mode: r1w1e2 ---Mike -- ------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet services since 1994 www.sentex.net Cambridge, Ontario Canada http://www.tancsa.com/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53E90B92.6060904>