Re: Accessing SCSI-Devices >2TB

From: Xin LI <delphij_at_frontfree.net>
Date: Wed, 8 Jun 2005 23:01:52 +0800
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.


Received on Wed Jun 08 2005 - 13:02:05 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:36 UTC