* [linux-lvm] Problem with creation of dev entries on SL (RHEL) 4
@ 2006-05-17 11:50 Stephen Childs
2006-05-17 18:42 ` Luca Berra
0 siblings, 1 reply; 3+ messages in thread
From: Stephen Childs @ 2006-05-17 11:50 UTC (permalink / raw)
To: linux-lvm
When I create a new LVM volume on Scientific Linux 4 (RHEL4-compatible), a
new entry isn't created in /dev, meaning that I can't access the volume
although it exists.
Creation succeeds:
[root@tg23 mapper]# /usr/sbin//lvcreate -s '-L1024M' -n
'/dev/xenvg/gridmon_gridmon023__1147860249' /dev/xenvg/gridmon
Logical volume "gridmon_gridmon023__1147860249" created
Mount fails:
[root@tg23 mapper]# mount '/dev/xenvg/gridmon_gridmon023__1147860249'
'/mnt/gridmon_gridmon023__1147860249'
mount: special device /dev/xenvg/gridmon_gridmon023__1147860249 does not exist
dev entry doesn't exist:
[root@tg23 mapper]# ls /dev/xenvg/gridmon_gridmon023__1147860249
ls: /dev/xenvg/gridmon_gridmon023__1147860249: No such file or directory
These were created before an upgrade from RH9:
[root@tg23 mapper]# ls /dev/xenvg/
gridgate_gridgate_wit_ie__1127224256 gridmon_gridmon__swap
sl304_1 wnclonetest
gridmon_gridmon_ait_ie__swap gridmon_gridmon_ucc_ie__swap
sl304_lfc__swap wnclonewn50
gridmon_gridmon_grid_ul_ie__1127238733
gridstore_gridstore_grid_ul_ie__swap sl304_lfc.testgrid__swap
gridmon_gridmon_it-tallaght_ie__swap gridui_gridui_dit_ie__swap
ttyl2base
gridmon_gridmon_scg_nuigalway_ie__swap rh9server
wnclonecagnode89
I have the following error in /var/log/messages:
May 17 12:47:10 tg23 /sbin/hotplug: no runnable /etc/hotplug/block.agent
is installed
I have the default hotplug package installed and can't find any source for
a hotplug block.agent.
Any ideas?
Stephen
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [linux-lvm] Problem with creation of dev entries on SL (RHEL) 4
2006-05-17 11:50 [linux-lvm] Problem with creation of dev entries on SL (RHEL) 4 Stephen Childs
@ 2006-05-17 18:42 ` Luca Berra
2006-05-18 9:00 ` Stephen Childs
0 siblings, 1 reply; 3+ messages in thread
From: Luca Berra @ 2006-05-17 18:42 UTC (permalink / raw)
To: Stephen.Childs, LVM general discussion and development
On Wed, May 17, 2006 at 12:50:01PM +0100, Stephen Childs wrote:
>When I create a new LVM volume on Scientific Linux 4 (RHEL4-compatible), a
>new entry isn't created in /dev, meaning that I can't access the volume
>although it exists.
>
>Creation succeeds:
>
>[root@tg23 mapper]# /usr/sbin//lvcreate -s '-L1024M' -n
>'/dev/xenvg/gridmon_gridmon023__1147860249' /dev/xenvg/gridmon
> Logical volume "gridmon_gridmon023__1147860249" created
>
>Mount fails:
....
>Any ideas?
>
Weird, but your command line is also weird could you try without
prefixing the vg name to -the -n parameter?
lvcreate -s -L1024M -n gridmon_gridmon023__1147860249 /dev/xenvg/gridmon
else look into the log section of /etc/lvm.conf and provide some logs.
L.
--
Luca Berra -- bluca@comedia.it
Communication Media & Services S.r.l.
/"\
\ / ASCII RIBBON CAMPAIGN
X AGAINST HTML MAIL
/ \
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [linux-lvm] Problem with creation of dev entries on SL (RHEL) 4
2006-05-17 18:42 ` Luca Berra
@ 2006-05-18 9:00 ` Stephen Childs
0 siblings, 0 replies; 3+ messages in thread
From: Stephen Childs @ 2006-05-18 9:00 UTC (permalink / raw)
To: LVM general discussion and development
Here's some snippets from the log:
activate/fs.c:176 Linking /dev/xenvg/gridmon_gridmon023__1147860249 ->
/dev/mapper/xenvg-gridmon_gridmon023__1147860249
toollib.c:1087 Zeroing start of logical volume
"gridmon_gridmon023__1147860249"
device/dev-cache.c:228 /dev/xenvg/gridmon_gridmon023__1147860249: Added
to device cache
device/dev-io.c:425 Opened /dev/xenvg/gridmon_gridmon023__1147860249 RW
O_DIRECT
device/dev-io.c:584 Wiping /dev/xenvg/gridmon_gridmon023__1147860249 at
sector 0 length 8 sectors
device/dev-io.c:134 /dev/xenvg/gridmon_gridmon023__1147860249: block
size is 4096 bytes
device/dev-io.c:456 Closed /dev/xenvg/gridmon_gridmon023__1147860249
metadata/metadata.c:1164 Found volume group "xenvg"
activate/dev_manager.c:1048 Getting device info for
xenvg-gridmon_gridmon023__1147860249
ioctl/libdm-iface.c:1326 dm info
IgMc4AcnOILtiudkjAXpuErUegVxunX66lb1awfZBR5rYYzIF64ogYnf98AcKHS0 O
mm/memlock.c:119 Unlocking memory
mm/memlock.c:138 memlock_count dec to 0
activate/fs.c:211 Removing link /dev/xenvg/gridmon_gridmon023__1147860249
The volume appears briefly in the /dev/mapper directory and then
disappears again! How is this meant to work?
Stephen
--
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-05-18 9:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-17 11:50 [linux-lvm] Problem with creation of dev entries on SL (RHEL) 4 Stephen Childs
2006-05-17 18:42 ` Luca Berra
2006-05-18 9:00 ` Stephen Childs
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).