Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 08 May 2014 19:32:41 +0100
From:      Karl Pielorz <kpielorz_lst@tdx.co.uk>
To:        Daniel Braniss <danny@cs.huji.ac.il>
Cc:        freebsd-scsi@freebsd.org
Subject:   Re: 'Wiring down' iSCSI devices / stop swapping dev nodes...
Message-ID:  <88E7AF042B7C82964163CEAF@study64.tdx.co.uk>
In-Reply-To: <E526E36E-DCBB-48EE-B574-447469D5AB17@cs.huji.ac.il>
References:  <963D4F6D5D95769A2C8A07D1@Mail-PC.tdx.co.uk> <E526E36E-DCBB-48EE-B574-447469D5AB17@cs.huji.ac.il>

next in thread | previous in thread | raw e-mail | index | archive | help


--On 8 May 2014 17:12:24 +0300 Daniel Braniss <danny@cs.huji.ac.il> wrote:

> one solution is to use gpart (8)
> 	gpart create -s GPT /dev/dan
> 	=E2=80=A6
> 	gpart add -t freebsd-ufs -l d0/p1 /dev/dan
>
> and you can use now
> 	/dev/gpt/d0/p1
>
> which [should] be true whatever iscsi decides to call device.

I hadn't thought of that - mostly because the devices underlying the iSCSI=20
are already gparted (i.e. the iSCSI target is a GPT partition on an=20
underlying disk).

I'm just trying it now - looks like it will work (Ok, it's created - I need =

to test failure etc.)

Is there any performance hit from having 'GPT within a GPT' kind of thing=20
going on? - I suppose I could just share out the raw disk (i.e. /dev/daX)=20
via iSCSI and then there'd be only one layer of partitioning going on...=20
I'm not sure if that's a good idea or not :)

-Karl



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?88E7AF042B7C82964163CEAF>