Skip to contentSkip to conversation

Source code repository changes

DISCUSSION Alasdair G Kergon 3 participants 4 messages Nov 5, 2008 – Nov 6, 2008 Device mapper

lore
Share & tools
lore

Alasdair G Kergon

author maintainer
#0 lore raw

OK - I'd like packagers to start testing what is currently in LVM2 CVS and report any problems with sets of configuration options / make targets actually required.

Once the Fedora 11 tree opens (expected end of this week) I shall make the first tarball release and use this code.

In summary:

There'll be one source tarball instead of two.

make device-mapper and make install_device-mapper will deal with the
device-mapper pieces.

make and make install will do both.

Other make targets can deal with other useful combinations - some obvious ones are still missing.

I have tried to retain file history during the import and added a dm_ prefix to former device-mapper tags.

Fedora and RHEL will continue to ship three RPMS: device-mapper, lvm2 and lvm2-cluster, but they'll all be generated from a single upstream tarball + SRPM.

Why are we doing this?
- To avoid the time-wasting dependency problems when building two separate

    packages;
  - To switch to a single source repository to make a likely move from CVS to
    git easier;

- To reduce the maintenance overhead;
- To make sharing code between the two quicker and easier.

We'll maintain separate WHATS_NEW and VERSION files for now, but eventually I hope to merge these too.

Alasdair

Signature · 1 line
[email protected]
#1 lore raw

dm-multipath with Celerra iSCSI

Hi,
I configured an iSCSI LUN on an EMC Celerra NAS. After discovered LUN by iSCSI and ran "multipath -v2", I get:

# multipath -ls
mpath-resize-test (36006048ca49317821e436e3a5ab974f6) dm-3 EMC,Celerra iSCSI
[size=295G][features=0][hwhandler=0]
\_ round-robin 0 [prio=0][enabled]
 \_ 10:0:0:52 sda 8:0   [active][undef]
\_ round-robin 0 [prio=0][enabled]
 \_ 11:0:0:52 sdb 8:16  [active][undef]
# multipath -ll
mpath-resize-test (36006048ca49317821e436e3a5ab974f6) dm-3 EMC,Celerra iSCSI
[size=295G][features=0][hwhandler=0]
\_ round-robin 0 [prio=0][enabled]
 \_ 10:0:0:52 sda 8:0   [active][ready]
\_ round-robin 0 [prio=0][enabled]
 \_ 11:0:0:52 sdb 8:16  [active][ready]

Why is there difference between two outputs?

Then, examining "multipath -v3" output, I see "path checker = readsector0"; is it right?

In general, are multipath.conf defaults right for this Celerra filer?

Thanks in advance
--
Domenico Viggiani

#2 lore raw
In reply to Alasdair G Kergon
Quoted 6 lines · Alasdair G Kergon

OK - I'd like packagers to start testing what is currently in LVM2 CVS and report any problems with sets of configuration options / make targets actually required.

Once the Fedora 11 tree opens (expected end of this week) I shall make the first tarball release and use this code.

I want to ask if it would be possible to merge NetBSD patches. During this summer I have ported libdevmapper/lvm2tools to NetBSD. Currently I can use lvm with lvm2tools on NetBSD with out any problems. Only needed changes for libdevmapper was addition of 3 files(netbsd-dm.h libdm-nbsd-iface.c libdm_netbsd.c to ioctl code). In lvm2tools I have added 2 files and written some small patches to support BSD raw devices. I can provide patches if merge would be possible.

Regards

Adam.

author maintainer
#3 lore raw
Quoted 1 line · Adam Hamsik

I want to ask if it would be possible to merge NetBSD patches

Yes - email them (as patches against the combined LVM2 repo) directly to this list or to lvm-devel and I'll pick them up.

Alasdair

Signature · 1 line
[email protected]