[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: "big" machines running Debian?



On Wed, Feb 25, 2009 at 05:10:58PM -0600, Ron Johnson wrote:
> On 02/25/2009 04:37 PM, Douglas A. Tutty wrote:
> >On Wed, Feb 25, 2009 at 04:48:30PM -0500, Lennart Sorensen wrote:
> >>On Wed, Feb 25, 2009 at 02:55:09PM -0600, Ron Johnson wrote:
> >>>Who boots off of (or puts / on) a 2TB partition?
> >>Someone with a 4 drive raid5 on a hardware controller with 750GB SATA
> >>drives.  Hence the only drive in the system is a 2.25TB device with
> >>partitions and everything on it.  The root partition isn't very big,
> >>but it's on a drive that is bigger than 2TB and hence needs something
> >>other than a DOS partition table.
> >
> >Why wouldn't you configure the raid controller to give you a small
> >logical drive (with whatever raid config you want) for the OS, and the
> >larger logical drive for your data (or for LVM for everything except /)?
> 
> I think it's because "disk" itself (which is what the boot loader 
> sees) is .gt. 2TB.
 
Not with my NetRaid card.  It takes the physical disks and assembles
them into virtual disks which appear to the OS as sd* of whatever size.

Info on the underlying physical drives (and the virtual disks and the
controller) show up under /proc/megaraid.

Here's dmesg | grep -i scsi:

SCSI subsystem initialized
scsi0:Found MegaRAID controller at 0xf8814000, IRQ:177
scsi0 : LSI Logic MegaRAID F  254 commands 16 targs 4 chans 7 luns
scsi0: scanning scsi channel 0 for logical drives.
  Type:   Direct-Access                      ANSI SCSI revision: 02
  Type:   Direct-Access                      ANSI SCSI revision: 02
scsi0: scanning scsi channel 4 [P0] for physical devices.
SCSI device sda: 51200000 512-byte hdwr sectors (26214 MB)
SCSI device sda: 51200000 512-byte hdwr sectors (26214 MB)
sym0: SCSI BUS has been reset.
sym0: SCSI BUS mode change from SE to SE.
scsi1 : sym-2.2.3
sym0: SCSI BUS has been reset.
sd 0:0:0:0: Attached scsi disk sda
SCSI device sdb: 39858176 512-byte hdwr sectors (20407 MB)
SCSI device sdb: 39858176 512-byte hdwr sectors (20407 MB)
sd 0:0:1:0: Attached scsi disk sdb


The megaraid controller shows up as a scsi hba with two drives (sda,
sdb) on it.  In this case, sda is a raid1 array and sdb is a raid0
array; the OS knows nothing about this, however.

Doug.


Reply to: