FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS

 
 
LinkBack Thread Tools
 
Old 02-01-2011, 04:38 PM
"Dvorkin, Asya"
 
Default Setting up persistent LUNs

Hello everyone,

I am trying to setup persistent LUNs and having problems.

I've been following instructions I found on the web and they refer to editing /etc/scsi_id.config file and adding options=-g line there. After doing so, I should be able to run scsi_id -g -s /dev/sd* and get proper results.

I've modified file /etc/scsi_id.config appropriately:

[root@psrwjmsafs1 etc]# grep options /etc/scsi_id.config
vendor="ATA",options=-p 0x80
options=-g

but whenever I run
scsi_id -g -s /b/sde1 - i get nothing.

[root@psrwjmsafs1 etc]# df -k |grep sde
/dev/sde1 1754602560 93383616 1572090328 6% /test

How come? Am i missing something?

Thank you!
Asya
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 02-01-2011, 09:39 PM
Alexander Dalloz
 
Default Setting up persistent LUNs

Am 01.02.2011 18:38, schrieb Dvorkin, Asya:
> Hello everyone,
>
> I am trying to setup persistent LUNs and having problems.
>
> I've been following instructions I found on the web and they refer to editing /etc/scsi_id.config file and adding options=-g line there. After doing so, I should be able to run scsi_id -g -s /dev/sd* and get proper results.
>
> I've modified file /etc/scsi_id.config appropriately:
>
> [root@psrwjmsafs1 etc]# grep options /etc/scsi_id.config
> vendor="ATA",options=-p 0x80
> options=-g
>
> but whenever I run
> scsi_id -g -s /b/sde1 - i get nothing.
>
> [root@psrwjmsafs1 etc]# df -k |grep sde
> /dev/sde1 1754602560 93383616 1572090328 6% /test
>
> How come? Am i missing something?
>
> Thank you!
> Asya

The proper scsi_id query would be

scsi_id -g -s /block/sde

Alexander
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 02-02-2011, 02:56 PM
"Dvorkin, Asya"
 
Default Setting up persistent LUNs

Thank you, Alexander!

I am not sure why it said /b/sde1 because I copy/pasted it...

Thank you again,
Asya


On Feb 1, 2011, at 5:39 PM, Alexander Dalloz wrote:

> Am 01.02.2011 18:38, schrieb Dvorkin, Asya:
>> Hello everyone,
>>
>> I am trying to setup persistent LUNs and having problems.
>>
>> I've been following instructions I found on the web and they refer to editing /etc/scsi_id.config file and adding options=-g line there. After doing so, I should be able to run scsi_id -g -s /dev/sd* and get proper results.
>>
>> I've modified file /etc/scsi_id.config appropriately:
>>
>> [root@psrwjmsafs1 etc]# grep options /etc/scsi_id.config
>> vendor="ATA",options=-p 0x80
>> options=-g
>>
>> but whenever I run
>> scsi_id -g -s /b/sde1 - i get nothing.
>>
>> [root@psrwjmsafs1 etc]# df -k |grep sde
>> /dev/sde1 1754602560 93383616 1572090328 6% /test
>>
>> How come? Am i missing something?
>>
>> Thank you!
>> Asya
>
> The proper scsi_id query would be
>
> scsi_id -g -s /block/sde
>
> Alexander
> _______________________________________________
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 

Thread Tools




All times are GMT. The time now is 04:20 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org