Re: How to find the root partition with root=dhcp root-path=iscsi:::...

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

 



On 06/19/2009 06:05 PM, David Dillow wrote:
On Fri, 2009-06-19 at 08:21 +0200, Harald Hoyer wrote:
On 06/19/2009 04:55 AM, David Dillow wrote:
The RFC only says we need to boot off the LUN specified, 0 if none
listed. That's your default partition.
ok, so the LUN is the partition number?

No, a LUN is a whole disk. You would map the LUN to /dev/sda or /dev/sdb
or such depending on which one it is, and use the entire disk -- no
partitions needed. If you wanted to separate /var or /home etc, you
would put them on a different LUN(s) -- partitions optional -- and
use /etc/fstab to mount them.

hmm, so I would have to create a rule, which would look for the next disk which appears and has some /sys magic iSCSI attributes and try to mount the whole disk.
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux