Re: [suse-sles-e] present new lun --

From: Alexei_Roudnev (Alexei_Roudnev_at_exigengroup.com)
Date: Thu May 24 2007 - 20:44:53 CEST


Message-ID: <03c501c79e33$9e58aa00$7331a8c0@sjc.exigengroup.com>
From: "Alexei_Roudnev" <Alexei_Roudnev@exigengroup.com>
Date: Thu, 24 May 2007 11:44:53 -0700
Subject: Re: [suse-sles-e] present new lun --

It all depends on the drivers.

For iSCSI, I can
- rescan controllers (iscsi reload) and disks (echo ... > rescan file
somewheere inside /sys)
- see new (changed) size of the LUN

but I can't
- see new size of the LUN if disk is in use;
- when using multipath all these hacks dont work at all, and unfortunately
some hackers from iSCSI team decided to make multipath the only way to work
(killing multiport mode).

For Emulex HBA, things have been worst.
So, 'add new lun, use lvm' is an answer if you want to add space. 'Use
another server' - if you clone / snapshort lvm volumes.

(Be very careful with the snapshorts - many subsystem such as OCFSv2 or even
LVM can get crazy seen two copies of the same disk object).

----- Original Message -----
From: "Rainer Duffner" <rainer@ultra-secure.de>
To: "Peter Van Lone" <petervl@gmail.com>
Cc: "RSLES List" <suse-sles-e@suse.com>
Sent: Thursday, May 24, 2007 8:01 AM
Subject: Re: [suse-sles-e] present new lun --

> Peter Van Lone wrote:
> > When I snapshot a lun from an eva-attached sles box, and then present
> > the lun to another sles box ... I have to reboot the sucker, to get it
> > to see it.
> >
> > That just does not seem right ... is there a command that can cause
> > LVM or EVMS to "refresh" it's device view?
> >
> >
>
>
> AFAIK:
>
> http://www.garloff.de/kurt/linux/scsidev/
> http://www.garloff.de/kurt/linux/rescan-scsi-bus.sh
>
> This whole process is still suboptimal, IMO.
>
> E.g., with Windows, you can use diskpart.exe to enlarge a partition
> on-the-fly, without any volume manager.
> In Linux, you have to use LVM (which brings other advantages, admittedly).
>
> Also, the whole scsi-system would benefit from a serious
> documentation-hackathlon.
> The fact that you've got to "cat here" and "echo there" into procfs and
> sysfs has "ugly hack" written all over it (at least, it seems to me).
>
>
>
>
> cheers,
> Rainer
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: suse-sles-e-unsubscribe@suse.com
> For additional commands, e-mail: suse-sles-e-help@suse.com
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: suse-sles-e-unsubscribe@suse.com
For additional commands, e-mail: suse-sles-e-help@suse.com



This archive was generated by hypermail 2.1.7 : Thu May 24 2007 - 22:48:42 CEST