Accessing SCSI-Devices >2TB

Xin LI delphij at frontfree.net
Wed Jun 8 15:02:05 GMT 2005


On Wed, Jun 08, 2005 at 04:08:37PM +0200, Raphael H. Becker wrote:
> On Wed, Jun 08, 2005 at 06:36:48AM -0500, Eric Anderson wrote:
> > Raphael H. Becker wrote:
> > > I tried to attach our new external RAID to my RENEG_5_4 box today using
> > > one logical drive of about 2326GB. 
> > > 
> > > The RAID was preconfigured with two 50% partitions which were assigned 
> > > to two LUNs. FreeBSD 5.4 was able to detect those as da1 and da2 with 
> > > full capacity. 
[...]
> Any idea, how to get 2620354MB in one filesystem (using the two ccd'ed
> partitions of the RAID)?
> 
> Well, I'm pretty trained in configuring that RAID now so if anyone knows 
> a solution, how to get rid of the 2TB-Limit for one drive (/dev/da1),
> maybe using larger blocks of about 1k or 2k, I just need to configure
> that RAID as a single large logical drive. 
> 
> Just tell me about the blocksizes (see other mail).

Err...  You don't need to play with the drivers/CAM stuff, why not try the
natively supported gpt(8), which works great.

	- Map the RAID device to a single SCSI device
	- Do a dd if=/dev/zero of=/dev/da0 bs=16384 count=16 to wipe the MBR
	- Do a `gpt create /dev/da0' to create your GPT partition table
	- Do a `gpt add /dev/da0' to create a GPT partition over it
	- You will now see something like /dev/da0p1, which can be used for
	  subsequent disklabel(8), or just newfs -U /dev/da0p1

Cheers,
-- 
Xin LI <delphij frontfree net>	http://www.delphij.net/
See complete headers for GPG key and other information.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20050608/41cc7ed1/attachment.bin


More information about the freebsd-current mailing list