Gentoo Archives: gentoo-user

From: Ian Brandt <ian@×××××××××.com>
To: Gentoo User <gentoo-user@l.g.o>
Subject: [gentoo-user] udev Migration and SCSI
Date: Wed, 19 Oct 2005 16:59:03
Message-Id: 43567972.7000205@ianbrandt.com
1 Hi,
2
3 I'm trying to remotely upgrade my server from
4 gentoo-sources-2.4.25_pre7-r2 to gentoo-sources-2.6.13-r9, i.e. from
5 devfs to udev. My root partition is on a RAID 1 mirror on an Adaptec
6 2100S. My existing fstab is below. It was summarized to me by the
7 NOC over the phone, so I don't have the exact text of the startup
8 error, but it is something to the effect of...
9
10 /dev/scsi/host0/bus0/target0/lun0/part3 not found
11
12 I'm guessing that udev is tweaking the naming scheme a bit, as warned
13 under "No Consistent Naming between DevFS and udev" in the Gentoo udev
14 Guide.
15
16 So two questions:
17
18 1) How can I tell what the new name is going to be?
19
20 2) As I'm doing this upgrade remotely, how can I set up to fail back
21 to my udev-less 2.4.25 kernel should 2.6.13 still fail to come up? In
22 other words, if I change fstab to be udev specific won't that leave me
23 dead in the water?
24
25 Thanks!
26
27 Ian
28
29 # /etc/fstab: static file system information.
30 # $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/fstab,v 1.14
31 2003/10/13 20:03:38 azarah Exp $
32 #
33 # noatime turns off atimes for increased performance (atimes normally
34 aren't
35 # needed; notail increases performance of ReiserFS (at the expense of
36 storage
37 # efficiency). It's safe to drop the noatime options if you want and to
38 # switch between notail and tail freely.
39
40 # <fs> <mountpoint> <type> <opts>
41 <dump/pass>
42
43 # NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
44 /dev/scsi/host0/bus0/target0/lun0/part1 /boot ext3
45 noauto,noatime 1 2
46 /dev/scsi/host0/bus0/target0/lun0/part3 /
47 reiserfs noatime 0 1
48 /dev/scsi/host0/bus0/target0/lun0/part2 none swap
49 sw 0 0
50 /dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro
51 0 0
52 #/dev/fd0 /mnt/floppy auto noauto
53 0 0
54
55 # NOTE: The next line is critical for boot!
56 none /proc proc defaults
57 0 0
58
59 # glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
60 # POSIX shared memory (shm_open, shm_unlink).
61 # (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
62 # use almost no memory if not populated with files)
63 # Adding the following line to /etc/fstab should take care of this:
64
65 none /dev/shm tmpfs defaults
66 0 0
67
68 --
69 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] udev Migration and SCSI Mike Williams <mike@××××××××.uk>