Date: Wed, 28 Oct 2015 22:58:00 +1100 From: "Ian Fitzgerald" <ianf@ozemail.com.au> To: <freebsd-questions@freebsd.org> Subject: Re: Adding 9.1 disk to 10.2 machine Message-ID: <000901d11177$e4f559c0$aee00d40$@com.au>
next in thread | raw e-mail | index | archive | help
gpart status: Name Status Components ada0p1 OK ada0 ada0p2 OK ada0 ada0p3 OK ada0 ada1s1 OK ada1 gpart show: => 34 976773101 ada0 GPT (466G) 34 1024 1 freebsd-boot (512K) 1058 968883200 2 freebsd-ufs (462G) 968884258 7888876 3 freebsd-swap (3.8G) 976773134 1 - free - (512B) => 63 1953525105 ada1 MBR (932G) 63 1953525105 1 freebsd [active] (932G) gpart list: Geom name: ada0 modified: false state: OK fwheads: 16 fwsectors: 63 last: 976773134 first: 34 entries: 128 scheme: GPT Providers: 1. Name: ada0p1 Mediasize: 524288 (512K) Sectorsize: 512 Stripesize: 0 Stripeoffset: 17408 Mode: r0w0e0 rawuuid: a752115a-7969-11e5-98da-00a1b0696768 rawtype: 83bd6b9d-7f41-11dc-be0b-001560b84f0f label: 1 length: 524288 offset: 17408 type: freebsd-boot index: 1 end: 1057 start: 34 2. Name: ada0p2 Mediasize: 496068198400 (462G) Sectorsize: 512 Stripesize: 0 Stripeoffset: 541696 Mode: r1w1e1 rawuuid: a756874b-7969-11e5-98da-00a1b0696768 rawtype: 516e7cb6-6ecf-11d6-8ff8-00022d09712b label: 1 length: 496068198400 offset: 541696 type: freebsd-ufs index: 2 end: 968884257 start: 1058 3. Name: ada0p3 Mediasize: 4039104512 (3.8G) Sectorsize: 512 Stripesize: 0 Stripeoffset: 2147501056 Mode: r1w1e0 rawuuid: a75b89d6-7969-11e5-98da-00a1b0696768 rawtype: 516e7cb5-6ecf-11d6-8ff8-00022d09712b label: 1 length: 4039104512 offset: 496068740096 type: freebsd-swap index: 3 end: 976773133 start: 968884258 Consumers: 1. Name: ada0 Mediasize: 500107862016 (466G) Sectorsize: 512 Mode: r2w2e3 Geom name: ada1 modified: false state: OK fwheads: 16 fwsectors: 63 last: 1953525167 first: 63 entries: 4 scheme: MBR Providers: 1. Name: ada1s1 Mediasize: 1000204853760 (932G) Sectorsize: 512 Stripesize: 4096 Stripeoffset: 3584 Mode: r1w1e1 attrib: active rawtype: 165 length: 1000204853760 offset: 32256 type: freebsd index: 1 end: 1953525167 start: 63 Consumers: 1. Name: ada1 Mediasize: 1000204886016 (932G) Sectorsize: 512 Stripesize: 4096 Stripeoffset: 0 Mode: r1w1e2 Therefore, #mount -t ufs /dev/ada1s1 /disk2 mounted without apparent error, and adding /dev/ada1s1 /disk2 ufs rw 2 2 to /etc/fstab has made the disk available at /disk2. Are there any potential hazards with doing this? Ian Fitzgerald
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000901d11177$e4f559c0$aee00d40$>