All of lore.kernel.org
 help / color / mirror / Atom feed
From: malahal@us.ibm.com
To: dm-devel@redhat.com
Subject: Re: Configuring multipath for root device
Date: Mon, 7 Jan 2008 16:29:53 -0800	[thread overview]
Message-ID: <20080108002952.GA1479@us.ibm.com> (raw)
In-Reply-To: <110b17190801071613q13e0d317pb792005ab724efa0@mail.gmail.com>

Pradipmaya Maharana [pradipmaya@gmail.com] wrote:
> Ok, so this is what the scene is :
> 
> linux-g78h:~ # ls -al /dev/disk/by-id/
> total 0
> drwxr-xr-x 2 root root 220 Jan  7 12:44 .
> drwxr-xr-x 5 root root 100 Jan  7 12:44 ..
> lrwxrwxrwx 1 root root   9 Jan  7 12:44 edd-int13_dev80 -> ../../sda
> lrwxrwxrwx 1 root root  10 Jan  7 12:44 edd-int13_dev80-part1 -> ../../sda1
> lrwxrwxrwx 1 root root  10 Jan  7 12:44 edd-int13_dev80-part2 -> ../../sda2
> lrwxrwxrwx 1 root root  10 Jan  7 12:44 edd-int13_dev80-part3 -> ../../sda3
> lrwxrwxrwx 1 root root   9 Jan  7 12:44 scsi-2221b000155f5d2d4 -> ../../sdb
> lrwxrwxrwx 1 root root  10 Jan  7 12:44 scsi-2221b000155f5d2d4-part1
> -> ../../sda1
> lrwxrwxrwx 1 root root  10 Jan  7 12:44 scsi-2221b000155f5d2d4-part2
> -> ../../sda2
> lrwxrwxrwx 1 root root  10 Jan  7 12:44 scsi-2221b000155f5d2d4-part3
> -> ../../sda3
> lrwxrwxrwx 1 root root   9 Jan  7 12:44 usb-ASUS_CB-5216A_DEF10A4090DF
> -> ../../sr0
> linux-g78h:~ #
> linux-g78h:~ # uname -a
> Linux linux-g78h 2.6.16.46-0.12-smp #1 SMP Thu May 17 14:00:09 UTC
> 2007 i686 i686 i386 GNU/Linux
> linux-g78h:~ #
> linux-g78h:~ # cat /etc/grub.conf
> setup --stage2=/boot/grub/stage2 (hd0,0) (hd0,0)
> quit
> linux-g78h:~ #
> linux-g78h:~ # cat /boot/grub/menu.lst
> # Modified by YaST2. Last modification on Mon Jan  7 19:40:30 UTC 2008
> default 0
> timeout 8
> ##YaST - generic_mbr
> gfxmenu (hd0,0)/message
> ##YaST - activate
> 
> ###Don't change this comment - YaST2 identifier: Original name: linux###
> title SUSE Linux Enterprise Server 10 SP1
>     root (hd0,0)
>     kernel /vmlinuz-2.6.16.46-0.12-smp root=/dev/sda2 vga=0x31a
> resume=/dev/sda3 showopts
>     initrd /initrd-2.6.16.46-0.12-smp
> 
> ###Don't change this comment - YaST2 identifier: Original name: failsafe###
> title Failsafe -- SUSE Linux Enterprise Server 10 SP1
>     root (hd0,0)
>     kernel /vmlinuz-2.6.16.46-0.12-smp root=/dev/sda2 vga=normal
> showopts ide=nodma apm=off acpi=off noresume nosmp noapic maxcpus=0
> edd=off 3
>     initrd /initrd-2.6.16.46-0.12-smp
> 
> ###Don't change this comment - YaST2 identifier: Original name: linux###
> title SUSE Linux Enterprise Server 10 SP1 ORG
>     root (hd0,0)
>     kernel /vmlinuz-2.6.16.46-0.12-smp root=/dev/sda2 vga=0x31a
> resume=/dev/sda3 showopts
>     initrd /initrd-2.6.16.46-0.org.12-smp
> 
> 
> So, I modified the fstab and menu.lst to replace all /dev/sdaX with
> /dev/scsi-2221b000155f5d2d4-partX. It won't boot.

/dev/scsi-2221b000155f5d2d4-partX is bogus! Your root device /dev/sda2
actually is edd-int13_dev80-part2, specifically it is
/dev/disk/by-id/edd-int13_dev80-part2.  You should replace /dev/sdaX
with /dev/disk/by-id/edd-int13_dev80-partX

Also, make sure that what ever you replace with is a valid name. For
example, /dev/scsi-2221b000155f5d2d4-partX will NOT exist on your
system where as /dev/disk/by-id/edd-int13_dev80-part2 should exist.

  reply	other threads:[~2008-01-08  0:29 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-19 21:02 Configuring multipath for root device Pradipmaya Maharana
2007-12-19 21:18 ` Chandra Seetharaman
2007-12-19 21:26   ` Pradipmaya Maharana
2007-12-20 16:46     ` Pradipmaya Maharana
2007-12-21 16:26       ` Benjamin Marzinski
2007-12-21 19:06         ` Pradipmaya Maharana
2008-01-07  7:38   ` Hannes Reinecke
2008-01-07 18:11     ` Pradipmaya Maharana
2008-01-07 20:19   ` Pradipmaya Maharana
2008-01-07 20:28     ` malahal
2008-01-07 20:40       ` Pradipmaya Maharana
2008-01-07 20:46         ` malahal
2008-01-07 20:56           ` Pradipmaya Maharana
2008-01-07 21:57             ` malahal
2008-01-08  0:13               ` Pradipmaya Maharana
2008-01-08  0:29                 ` malahal [this message]
2008-01-08  7:17     ` Hannes Reinecke
2008-01-16  2:25       ` Pradipmaya Maharana
2008-01-16  2:32         ` Chandra Seetharaman
2008-01-16 17:36         ` malahal
2008-01-16 18:49           ` Pradipmaya Maharana
2008-01-17 20:21             ` malahal
2008-01-17 20:38               ` Pradipmaya Maharana
2008-01-18 21:52                 ` Pradipmaya Maharana
2008-01-16  4:24       ` Romanowski, John (OFT)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080108002952.GA1479@us.ibm.com \
    --to=malahal@us.ibm.com \
    --cc=dm-devel@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.