Re: [OT] Help with clonezilla-live: LUKS/LVM2 image backup without partclone.dd

2021-04-15 Thread didier gaumet
Ouch! both the two replies I made yesterday on this list were too rough and I should have read the original posts more carefully. Sorry for that and not being able to propose a solution :-)

Re: [OT] Help with clonezilla-live: LUKS/LVM2 image backup without partclone.dd

2021-04-14 Thread l0f4r0
Hi Didier, Thanks for your answer. 14 avr. 2021, 20:50 de didier.gau...@gmail.com: > So it seems to me appropriate that dd is used as you want an image of a whole > disk? > Whole disk here doesn't mean 1 image file. Actually, after running clonezilla I get numerous files: nvme0n1p1.vfat-ptcl-

Re: [OT] Help with clonezilla-live: LUKS/LVM2 image backup without partclone.dd

2021-04-14 Thread didier gaumet
Hello, Disclaimer: I have never used Clonezilla nor LUKS "Many File systems are supported: (1) ext2, ext3, ext4, reiserfs, reiser4, xfs, jfs, btrfs, f2fs and nilfs2 of GNU/Linux, (2) FAT12, FAT16, FAT32, NTFS of MS Windows, (3) HFS+ of Mac OS, (4) UFS of FreeBSD, NetBSD, and OpenBSD, (5)

[OT] Help with clonezilla-live: LUKS/LVM2 image backup without partclone.dd

2021-04-14 Thread l0f4r0
Hi, Do some of you use clonezilla for your backups, especially with a LVM2/LUKS configuration please? I've written some days ago to the clonezilla-live mailing-list but I'm not sure I'll ever get answers considering the very very low traffic on it. So maybe I'll be mor

Re: authentication bug (or feature?) with multiple encrypted lvm2 volume groups

2021-02-23 Thread Charles Curley
On Tue, 23 Feb 2021 22:19:03 +0100 Marco Möller wrote: > Obviously, the in Step 2 entered (wrong) password (for "A") is stored > and without further interactive consultation automatically used as > the input for the password authentication of "B". > Is this a bug or a feature? If it is a bug, wh

authentication bug (or feature?) with multiple encrypted lvm2 volume groups

2021-02-23 Thread Marco Möller
Two volume groups (lvm2) exists, Each of them is encrypted and thus protected by its own password. Lets call the volume groups and their corresponding passwords like this: VGpassword "A" "pwA" "B" "pwB" "pwA" and "pwB" dif

Re: RFE: The installation DVD use LVM2 and crytsetup, why can't you use them with the live DVD?

2020-08-14 Thread Albretch Mueller
eb /media/cdrom0/pool/main/c/cryptsetup/libcryptsetup4-udeb_1.7.3-4_amd64.udeb /media/cdrom0/pool/main/l/linux/crypto-dm-modules-4.9.0-6-amd64-di_4.9.82-1+deb9u3_amd64.udeb /media/cdrom0/pool/main/l/linux/crypto-modules-4.9.0-6-amd64-di_4.9.82-1+deb9u3_amd64.udeb /media/cdrom0/pool/main/l/

Re: RFE: The installation DVD use LVM2 and crytsetup, why can't you use them with the live DVD?

2020-08-12 Thread Albretch Mueller
Sorry, I just meant to send the one liner on the subject. lbrtchx

RFE: The installation DVD use LVM2 and crytsetup, why can't you use them with the live DVD?

2020-08-12 Thread Albretch Mueller
On 8/12/20, Albretch Mueller wrote: >> I recommend to thoroughly test your hardware using different OS (possibly >> non-Linux) and if you manage to reproduce the problems, it would mean a >> hardware failure. > > The only thing that I have "discovered" is that for whatever reason > that keyboard

Encrypted image Debian system backup with Clonezilla in a LUKS/LVM2 environment

2020-06-07 Thread l0f4r0
Hi, I run Debian 10 (UEFI with Secure Boot) on multiple LVM2 partitions inside LUKS as follows: NAME                                              FSTYPE               LABEL              MOUNTPOINT   SIZE nvme0n1

Re: Jessie unable to start lvm2 on boot (raspbian)

2016-03-27 Thread Jari Fredriksson
Elimar Riesebieter kirjoitti 27.3.2016 14:23: * Jari Fredriksson [2016-03-27 14:02 +0300]: arian kirjoitti 17.3.2016 17:50: >raspbian is not mainline debian. Maybe ask on raspbian support channels? > >>vgchange -a y >>service lvm2 start >>mount -a > >why the serv

Re: Jessie unable to start lvm2 on boot (raspbian)

2016-03-27 Thread Elimar Riesebieter
* Jari Fredriksson [2016-03-27 14:02 +0300]: > arian kirjoitti 17.3.2016 17:50: > >raspbian is not mainline debian. Maybe ask on raspbian support channels? > > > >>vgchange -a y > >>service lvm2 start > >>mount -a > > > >why the service lvm2

Re: Jessie unable to start lvm2 on boot (raspbian)

2016-03-27 Thread Jari Fredriksson
arian kirjoitti 17.3.2016 17:50: raspbian is not mainline debian. Maybe ask on raspbian support channels? vgchange -a y service lvm2 start mount -a why the service lvm2 start? is lvm service disabled? please provide output of those commands. Every time after a reboot the boot sequence

Re: Jessie unable to start lvm2 on boot (raspbian)

2016-03-27 Thread Jari Fredriksson
arian kirjoitti 17.3.2016 17:50: raspbian is not mainline debian. Maybe ask on raspbian support channels? vgchange -a y service lvm2 start mount -a why the service lvm2 start? is lvm service disabled? please provide output of those commands. Every time after a reboot the boot sequence aborts

Re: Jessie unable to start lvm2 on boot (raspbian)

2016-03-20 Thread arian
raspbian is not mainline debian. Maybe ask on raspbian support channels? > vgchange -a y > service lvm2 start > mount -a why the service lvm2 start? is lvm service disabled? please provide output of those commands. > Every time after a reboot the boot sequence aborts and sshd is n

Jessie unable to start lvm2 on boot (raspbian)

2016-03-19 Thread Jari Fredriksson
I have an USB connected hard disk on my raspberry, and that is used via lvm2. This worked as charm in wheezy, but after I upgraded to jessie it does not work. Every time after a reboot the boot sequence aborts and sshd is not up (maybe because the /home is an lvm2-partition...) and I have

Re: lvm2 on top of dm-crypt - how to add new hard disk

2013-08-21 Thread Gregory Nowak
On Wed, Aug 21, 2013 at 12:19:40PM -0300, Luther Blissett wrote: > My initial guess was that it should be possible to extend this > encryption scheme to the new hard disk using standard lvm tools and the > unencrypted "open" disk as physical volume to the already existing > volume group. However, a

lvm2 on top of dm-crypt - how to add new hard disk

2013-08-21 Thread Luther Blissett
Hello folks, So I might better ask before attempting something stupid. I need to add a new hard drive to an encrypted debian box. The encryption scheme was set using debian installer defaults which resulted in just /dev/sda1 -> /boot outside block device encryption. Everything else is encrypted an

lvm2 on top of dm-crypt - how to add new hard disk

2013-08-21 Thread Luther Blissett
Hello folks, So I might better ask before attempting something stupid. I need to add a new hard drive to an encrypted debian box. The encryption scheme was set using debian installer defaults which resulted in just /dev/sda1 -> /boot outside block device encryption. Everything else is encrypted an

Re: lvm2 size of logical volume after lvcreate --size 348g after mkfs.ext3 -m 0 is only 343 gigabytes?

2013-02-14 Thread Bob Proulx
Mitchell Laks wrote: > I agree Bob. I was just suprised at how much space 5-6GB is eaten up > by the overhead. I have several 8G USB drives and remember using 5 > 1/4 inch drives. To throw away 5 gb Yes, but... You shouldn't think of it that way. > even though it is only 1.42% of the drive as fo

Re: lvm2 size of logical volume after lvcreate --size 348g after mkfs.ext3 -m 0 is only 343 gigabytes?

2013-02-14 Thread Mitchell Laks
On 17:31 Thu 14 Feb , Bob Proulx wrote: > Times change so this info may be out of date with the newer > filesystems but at one time journal filesystems needed filesystem > space for the journal and also space needs to be allocated for the > inodes. (See 'df -i' output.) I assume LVM will need

Re: lvm2 size of logical volume after lvcreate --size 348g after mkfs.ext3 -m 0 is only 343 gigabytes?

2013-02-14 Thread Bob Proulx
Mitchell Laks wrote: > Hi I am trying to backup a volume which has size 347G. So I thought > ... > only shows 343G instead of 348G. > ... > So my question is where have those extra 5G gone to? Times change so this info may be out of date with the newer filesystems but at one time journal filesyste

Re: lvm2 size of logical volume after lvcreate --size 348g after mkfs.ext3 -m 0 is only 343 gigabytes?

2013-02-14 Thread Tom H
On Thu, Feb 14, 2013 at 3:36 PM, Mitchell Laks wrote: > On 20:34 Thu 14 Feb, emmanuel segura wrote: >> >> man tune2fs >> >> -r reserved-blocks-count >> Set the number of reserved filesystem blocks. >> >> be careful with filesystem reserved block, one time i had a production >>

Re: lvm2 size of logical volume after lvcreate --size 348g after mkfs.ext3 -m 0 is only 343 gigabytes?

2013-02-14 Thread Mitchell Laks
On 20:34 Thu 14 Feb , emmanuel segura wrote: > man tune2fs > > -r reserved-blocks-count > Set the number of reserved filesystem blocks. > > be careful with filesystem reserved block, one time i had a production > server with / corrupted > I have a very specific use here.

Re: lvm2 size of logical volume after lvcreate --size 348g after mkfs.ext3 -m 0 is only 343 gigabytes?

2013-02-14 Thread emmanuel segura
. So I thought to use > lvm2. > So I created a volumeby > > lvcreate -n test --size 348G my-volume > > I thought I would be giving myself an extra Gigabyte there :). > > then i did > mkfs.ext3 -m0 /dev/my-volume/test > > then when I mounted the device > mount /dev

lvm2 size of logical volume after lvcreate --size 348g after mkfs.ext3 -m 0 is only 343 gigabytes?

2013-02-14 Thread Mitchell Laks
Hi I am trying to backup a volume which has size 347G. So I thought to use lvm2. So I created a volumeby lvcreate -n test --size 348G my-volume I thought I would be giving myself an extra Gigabyte there :). then i did mkfs.ext3 -m0 /dev/my-volume/test then when I mounted the device mount /dev

Are there capacity issues with LVM2 on RAID?

2012-11-12 Thread Hendrik Boom
I'm about to partition twin 3TB disks. Some free space (in case I need it someday) outside the main partitions, and one main partition on each of the two drives. These partitions will be twinned as parts of a RAID1 for redundancy. On that RAID I plan to install LVM2, and use that to

Boot issues with cryptdisks and lvm2

2012-04-18 Thread Baxter Kylie
r how to alleviate this issue: The block devices are stacked as follows: sda1 -> boot sda2 -> crypto (passphrase) -> lvm2 sdb1 -> crypto (keyfile on sda2 lvm volume) -> lvm2 sdc1 -> crypto (keyfile on sda2 lvm volume) -> lvm2 ... This requires that services be (roughly)

cryptdisks + lvm2 + keyfiles boot/init issues

2012-04-17 Thread Baxter Kylie
r how to alleviate this issue: The block devices are stacked as follows: sda1 -> boot sda2 -> crypto (passphrase) -> lvm2 sdb1 -> crypto (keyfile on sda2 lvm volume) -> lvm2 sdc1 -> crypto (keyfile on sda2 lvm volume) -> lvm2 ... This requires that services be (roughly)

Re: any GUI for LVM2 ?

2012-03-22 Thread Johann Spies
On Thu, Mar 22, 2012 at 11:37:12AM +0200, J. Bakshi wrote: > > Dear list, > > Is there any GUI available in debian/ubuntu for LVM2 ? wajig (or apt-cache) search lvm shows on my system inter alia: system-config-lvm - utility for graphically configuring Logical Volumes>

Re: any GUI for LVM2 ?

2012-03-22 Thread Alberto Fuentes
On 22/03/12 10:37, J. Bakshi wrote: Dear list, Is there any GUI available in debian/ubuntu for LVM2 ? Thanks thanks to redhat guys! system-config-lvm -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Conta

Re: any GUI for LVM2 ?

2012-03-22 Thread J. Bakshi
On Thu, 22 Mar 2012 04:53:12 -0500 "Christofer C. Bell" wrote: > On Thu, Mar 22, 2012 at 4:37 AM, J. Bakshi wrote: > > > > Dear list, > > > > Is there any GUI available in debian/ubuntu for LVM2 ? > > Yes, you can install the syste

Re: any GUI for LVM2 ?

2012-03-22 Thread Christofer C. Bell
On Thu, Mar 22, 2012 at 4:37 AM, J. Bakshi wrote: > > Dear list, > > Is there any GUI available in debian/ubuntu for LVM2 ? Yes, you can install the system-config-lvm package. Here are the details: Package: system-config-lvm Status: install ok installed Priority: extra Section: adm

any GUI for LVM2 ?

2012-03-22 Thread J. Bakshi
Dear list, Is there any GUI available in debian/ubuntu for LVM2 ? Thanks -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20120322150712.47951...@shiva.selfip.org

Re: mostly Solved: [Re: cryptdisks runlevel configuration for lvm2 + encrypted swap file]

2011-07-29 Thread Bob Proulx
Jimmy Wu wrote: > Since /var is a LVM2 logical volume, it won't get mounted until after > mountall.sh (I assume). Since cryptdisks comes before mountall.sh in the > dependency chain I (also assume that I) can't move it after mountall.sh > without creating some circular me

mostly Solved: [Re: cryptdisks runlevel configuration for lvm2 + encrypted swap file]

2011-07-29 Thread Jimmy Wu
at the boot order dependencies. After reading a bit of insserv(8), looking at the LSB headers and /etc/init.d/.depend.boot info for mountall.sh, cryptdisks, etc., I came up with the following dependency chain ('a -> b' := a depends on b, so b starts before a and a stops before

Re: cryptdisks runlevel configuration for lvm2 + encrypted swap file

2011-07-29 Thread Jimmy Wu
On Fri, 29 Jul 2011, 00:59-0600, Bob Proulx wrote: > Jimmy Wu wrote: > So... I am curious. I often read that people are wanting to > "configure their runlevels". You are not the only one. Other people > talk about it too. But I never know why. And I never quite know > exactly what someone me

Re: cryptdisks runlevel configuration for lvm2 + encrypted swap file

2011-07-28 Thread Bob Proulx
Jimmy Wu wrote: > Thanks for the detailed email and the advice about service vs > invoke-rc.d - I should probably spend more time figuring out what the The win for package postinst scripts using invoke-rc to start services is that if they are installed in a chroot then maybe they shouldn't start

Re: cryptdisks runlevel configuration for lvm2 + encrypted swap file

2011-07-28 Thread Jimmy Wu
On Wed, 27 Jul 2011, 14:09-0600, Bob Proulx wrote: > Jimmy Wu wrote: > > I even put aside my reservations about messing with the links in > > rc.d, > > Squeeze is running a dependency based boot scheme controlled by > insserv. You may be fighting it and not knowing it. Normally you > would hav

Re: cryptdisks runlevel configuration for lvm2 + encrypted swap file

2011-07-27 Thread Bob Proulx
Jimmy Wu wrote: > I even put aside my reservations about messing with the links in > rc.d, Squeeze is running a dependency based boot scheme controlled by insserv. You may be fighting it and not knowing it. Normally you would have LSB dependency headers in the /etc/init.d/ scripts and insserv wi

Re: cryptdisks runlevel configuration for lvm2 + encrypted swap file

2011-07-27 Thread Jimmy Wu
On Wed, 27 Jul 2011, 10:18-0400, Jean-Marc Ranger wrote: > Since no-one replied yet... > > I don't have an answer, only ideas. > > IIRC, scripts in only one of the rc?.d are executed on startup. > Which one depend on the requested runlevel, default value being > specified in /etc/inittab. > > L

Re: cryptdisks runlevel configuration for lvm2 + encrypted swap file

2011-07-27 Thread Jean-Marc Ranger
Since no-one replied yet... I don't have an answer, only ideas. IIRC, scripts in only one of the rc?.d are executed on startup. Which one depend on the requested runlevel, default value being specified in /etc/inittab. Looking at my cryptdisks and cryptdisks-early scripts, they appear to be

cryptdisks runlevel configuration for lvm2 + encrypted swap file

2011-07-26 Thread Jimmy Wu
Dear List, I have an encrypted swap file located inside /var, which is on a separate LVM2 logical volume from /, but it does not get mounted on boot. Everything I've been able to find either implies my setup should work or is geared toward swap partitions, not swap files. I even put

Re: No lvm2 volumes after kernel update

2010-07-14 Thread Konstantin Kletschke
Hello! I found out the kernel was too new for debian stable udev system. Lenny's udev needs CONFIG_DEPRECATED_SYSFS CONFIG_DEPRECATED_SYSFS_V2 enabled and the most actual stable kernel package has this enabled (2.6.26-2-686) so I could update, even completely remotely, to this version. Sadly upd

Re: No lvm2 volumes after kernel update

2010-07-12 Thread konsti
Sorry, this is not a reply but in initial message to the list. > Are you using the kernel to autodetect the LVM volumes (using type 0xfd). It Well I use only the kernel modules (dm_mod) and let userspace do its stuff, mainly debian's /etc/init.d/lvm does the job well. It relies on pvscan dete

Re: No lvm2 volumes after kernel update

2010-07-12 Thread Michael Tsang
2-5-686 > > Additional the versions of the following packages may be relevant: > > lvm2: 2.02.39-7 > libdevmapper1.02.1: 2:1.02.27-4 > udev: 0.098-2 > > Kind Regards, Konsti Are you using the kernel to autodetect the LVM volumes (using type 0xfd). It does not handle the v

No lvm2 volumes after kernel update

2010-07-12 Thread Konstantin Kletschke
: 2.6.17-2-686 #1 SMP Thu Aug 31 12:53:18 UTC 2006 i686 GNU/Linux The new kernel is also debian package: linux-image-2.6.32-5-686 Additional the versions of the following packages may be relevant: lvm2: 2.02.39-7 libdevmapper1.02.1: 2:1.02.27-4 udev: 0.098-2 The box is a headless production system

Re: [ squeeze ] Grub2 RAID1 LVM2 boot failure

2010-06-02 Thread Tom H
On Mon, May 31, 2010 at 5:42 PM, wrote: > Thanks for the comments and help. > > I have edited /boot/grub/grub.cfg to match my devices by UUID as > proposed, getting UUIDs from blkid /dev/md{0,1} (previously I run > blkid -g): > > menuentry "Debian GNU/Linux, with Linux 2.6.32-3-686-bigmem" --clas

Re: [ squeeze ] Grub2 RAID1 LVM2 boot failure

2010-06-01 Thread d . sastre . medina
On Tue, Jun 01, 2010 at 03:31:41AM -0500, Stan Hoeppner wrote: > d.sastre.med...@gmail.com put forth on 5/30/2010 4:45 PM: > > On Sun, May 30, 2010 at 02:24:41PM -0500, Stan Hoeppner wrote: > >> What happens when you use LILO instead of Grub? > > > > I haven't tried that yet. > > [ snip ] > > But

Re: [ squeeze ] Grub2 RAID1 LVM2 boot failure

2010-06-01 Thread Stan Hoeppner
d.sastre.med...@gmail.com put forth on 5/30/2010 4:45 PM: > On Sun, May 30, 2010 at 02:24:41PM -0500, Stan Hoeppner wrote: >> What happens when you use LILO instead of Grub? > > I haven't tried that yet. > > First thing would be to know if the bootloader is to blame for not > having a bootable s

Re: [ squeeze ] Grub2 RAID1 LVM2 boot failure

2010-06-01 Thread Antonio Perez
d.sastre.med...@gmail.com wrote: > Thanks for the comments and help. > > I have edited /boot/grub/grub.cfg to match my devices by UUID as > proposed, getting UUIDs from blkid /dev/md{0,1} (previously I run > blkid -g): Good. > It doesn't boot. Bummer. > Note a added `rootdelay=15' and removed

Re: [ squeeze ] Grub2 RAID1 LVM2 boot failure

2010-05-31 Thread d . sastre . medina
Thanks for the comments and help. I have edited /boot/grub/grub.cfg to match my devices by UUID as proposed, getting UUIDs from blkid /dev/md{0,1} (previously I run blkid -g): menuentry "Debian GNU/Linux, with Linux 2.6.32-3-686-bigmem" --class debian --class gnu-linux --class gnu --class os {

Re: [ squeeze ] Grub2 RAID1 LVM2 boot failure

2010-05-30 Thread Tom H
On Sun, May 30, 2010 at 7:13 AM, wrote: > On Sat, May 29, 2010 at 05:44:22PM -0400, Tom H wrote: >> On Sat, May 29, 2010 at 7:06 AM, David Sastre Medina >> wrote: >> > >> > Grub2 is failing to boot a softRAID1 + LVM2 squeeze box. >> > >>

Re: [ squeeze ] Grub2 RAID1 LVM2 boot failure

2010-05-30 Thread Antonio Perez
d.sastre.med...@gmail.com wrote: > On Sat, May 29, 2010 at 05:44:22PM -0400, Tom H wrote: >> On Sat, May 29, 2010 at 7:06 AM, David Sastre Medina >> wrote: >> > >> > Grub2 is failing to boot a softRAID1 + LVM2 squeeze box. I use an equivalent setup and it was

Re: [ squeeze ] Grub2 RAID1 LVM2 boot failure

2010-05-30 Thread d . sastre . medina
On Sun, May 30, 2010 at 02:24:41PM -0500, Stan Hoeppner wrote: > What happens when you use LILO instead of Grub? I haven't tried that yet. First thing would be to know if the bootloader is to blame for not having a bootable system. As of now, it would be some timming issues related to initramfs-

Re: [ squeeze ] Grub2 RAID1 LVM2 boot failure

2010-05-30 Thread Stan Hoeppner
What happens when you use LILO instead of Grub? d.sastre.med...@gmail.com put forth on 5/30/2010 6:13 AM: > On Sat, May 29, 2010 at 05:44:22PM -0400, Tom H wrote: >> On Sat, May 29, 2010 at 7:06 AM, David Sastre Medina >> wrote: >>> >>> Grub2 is failing to bo

Re: [ squeeze ] Grub2 RAID1 LVM2 boot failure

2010-05-30 Thread d . sastre . medina
On Sat, May 29, 2010 at 05:44:22PM -0400, Tom H wrote: > On Sat, May 29, 2010 at 7:06 AM, David Sastre Medina > wrote: > > > > Grub2 is failing to boot a softRAID1 + LVM2 squeeze box. > > > > r...@sysresccd /root % mdadm --detail /dev/md0 > > /dev/md0: &

Re: [ squeeze ] Grub2 RAID1 LVM2 boot failure

2010-05-29 Thread Tom H
On Sat, May 29, 2010 at 7:06 AM, David Sastre Medina wrote: > > Grub2 is failing to boot a softRAID1 + LVM2 squeeze box. > The error is "can't find root_vg-root_lv". After that, it drops me to > a initrd shell, but my USB keyboard stops working, so I must > button-r

Re: [ squeeze ] Grub2 RAID1 LVM2 boot failure

2010-05-29 Thread d . sastre . medina
I think my previous post requires some more info: I've got three HDs, two of them (twin disks) have two partitions, one /boot partition (md0) and the other one for LVM filesystems (md1), where root_vg-root_lv lives (among others). The third disk is unpatitioned, and has one only lv (var_lv) So, p

[ squeeze ] Grub2 RAID1 LVM2 boot failure

2010-05-29 Thread David Sastre Medina
Hello, Grub2 is failing to boot a softRAID1 + LVM2 squeeze box. The error is "can't find root_vg-root_lv". After that, it drops me to a initrd shell, but my USB keyboard stops working, so I must button-reboot. There are two kernels installed. I've attached grub.cfg. It

2.6.30-2 does not recognize lvm2 volume group at bootup

2009-11-03 Thread Johannes Graumann
Hi, What might be the issue if stock kernel 2.6.30-1 boots my system just fine, but the 2.6.30-2 version after leaving grub just sits around "loading" and never recognizes my lvm2 volume group. I'd appreciate any hints on how to troubleshoot this. Thanks, Joh -- To UNSUBS

Problem about starting lvm2 daemon

2009-10-17 Thread Niu Kun
Dear all, I'm using the "testing" debian branch. And I've just upgrade my redhat-cluster-module. But each time I started lvm2, I got the following error message: Setting up LVM Volume Groups connect() failed on local socket: Connection refused WARNING: Falling back

Re: sid dist-upgrade: lvm2 conflicts with devicekit-disks so systems with / on lvm2 killed

2009-10-16 Thread Boyd Stephen Smith Jr.
On Friday 16 October 2009 03:08:36 Joe wrote: > So could I ask what the correct answer actually is? What combination of > packages do we need to maintain an unbroken operating system which > depends on both lvm2 and gnome? AFAIK, there isn't one in sid alone. You may be abl

Re: sid dist-upgrade: lvm2 conflicts with devicekit-disks so systems with / on lvm2 killed

2009-10-16 Thread Javier Barroso
gnome stuff bring in > devicekit-disks > and > > 1. lvm2 requires dmsetup > 2. devicekit-disks conflicts with dmsetup > 3. gnome-control-center and other gnome crap need devicekit-disks > 4. so lvm2 and dmsetup get kicked out to rc status > 5. then you can't boot with your k

Re: sid dist-upgrade: lvm2 conflicts with devicekit-disks so systems with / on lvm2 killed

2009-10-16 Thread Michael Biebl
Joe wrote: > Michael Biebl wrote: >> Mitchell Laks wrote: >>> Hi, >>> >>> I recently did a sid dist-upgrade, and could no longer boot using >>> linux-image-2.6.30-2-686-bigmem kernel >>> and had to boot off an old 2.6.26 kernel. >> .. >> >>> This is a problem. >>> >> I guess the real problem is,

Re: sid dist-upgrade: lvm2 conflicts with devicekit-disks so systems with / on lvm2 killed

2009-10-16 Thread Joe
doing dist-upgrades about which packages are removed. Or better use a simple upgrade which does not remove packages automatically. So could I ask what the correct answer actually is? What combination of packages do we need to maintain an unbroken operating system which depends on both lvm2 and

sid gnome is now incompatible with / on lvm2 media

2009-10-15 Thread Mitchell Laks
This is just to publicize the fact that many gnome packages depend upon devicekit-disks devicekit-disks is incompatible with dmsetup and therefore lvm2. If your / is on a lvm2 group you will not be able to boot. here is a debian bug reference: http://bugs.debian.org/550434 if you have gnome

Re: sid dist-upgrade: lvm2 conflicts with devicekit-disks so systems with / on lvm2 killed

2009-10-15 Thread Michael Biebl
Mitchell Laks wrote: > Hi, > > I recently did a sid dist-upgrade, and could no longer boot using > linux-image-2.6.30-2-686-bigmem kernel > and had to boot off an old 2.6.26 kernel. .. > > This is a problem. > I guess the real problem is, that you should be more careful when doing dist-upg

sid dist-upgrade: lvm2 conflicts with devicekit-disks so systems with / on lvm2 killed

2009-10-15 Thread Mitchell Laks
Hi, I recently did a sid dist-upgrade, and could no longer boot using linux-image-2.6.30-2-686-bigmem kernel and had to boot off an old 2.6.26 kernel. The reason is that gnome-control-center and other gnome stuff bring in devicekit-disks and 1. lvm2 requires dmsetup 2. devicekit-disks

Re: LVM2 raid1 without mdadm - Break the mirror and re-synchronize it back the other way around.

2009-09-27 Thread Andres Migliazzo
Hi Frank, First of all, I do apologize for posting on amd64 list, I was not sure about the scope of these two groups. Thank you for clarify. I didn't have a chance to test the LVM snaphots, but I understand that If I snapshot the root (/) file system on to a new snapshot/backup logical volume and

Re: LVM2 raid1 without mdadm - Break the mirror and re-synchronize it back the other way around.

2009-09-27 Thread Frank Lin PIAT
Hi, [Don't cross post. I am dropping debian-amd64, since the issue isn't related to amd64] On Fri, 2009-09-25 at 23:30 -0300, Andres Migliazzo wrote: > > I currently have /boot and / (root) on raid 1 with mdadm. Which is > useful for me specially when I patch the server because I break the > mi

LVM2 raid1 without mdadm - Break the mirror and re-synchronize it back the other way around.

2009-09-25 Thread Andres Migliazzo
lvm2 a- 3.76G 0 /dev/sdb Debian lvm2 a- 4.00G 4.00G /dev/sdc1 SwapVG lvm2 a- 192.00M 0 /dev/sdd Debian lvm2 a- 196.00M 196.00M 2. Add the new PVs into the root volume group # vgextend Debian /dev/sd[bd] Check: # pvs PV VG Fmt Attr PSize PFree /dev

Re: lvm2 - question about pvmove

2009-07-15 Thread Boyd Stephen Smith Jr.
In <4a5d2a14.9000...@cox.net>, Ron Johnson wrote: >On 2009-07-13 14:24, Boyd Stephen Smith Jr. wrote: >> In <4a5b841e.7010...@cox.net>, Ron Johnson wrote: In your case, you'll have to add at least 3 of the new PVs to the VG before pvmove will let you begin. Are you going to move swap ont

Re: lvm2 - question about pvmove

2009-07-14 Thread Ron Johnson
On 2009-07-13 14:24, Boyd Stephen Smith Jr. wrote: In <4a5b841e.7010...@cox.net>, Ron Johnson wrote: In your case, you'll have to add at least 3 of the new PVs to the VG before pvmove will let you begin. Are you going to move swap onto LVM? If not, make sure your partition table for the new dr

Re: lvm2 - question about pvmove

2009-07-13 Thread Boyd Stephen Smith Jr.
In <537f90650907131240t37ff3fa9k2e72f498eec26...@mail.gmail.com>, Mike Castle wrote: >On Mon, Jul 13, 2009 at 12:24 PM, Boyd Stephen Smith > >Jr. wrote: >> pvcreate /dev/sdc1 >> pvcreate /dev/sdc2 >> pvcreate /dev/sdc3 >> pvcreate /dev/sdc4 >> vgextend $vg /dev/sdc1 >> vgextend $vg /dev/sdc2 >> vg

Re: lvm2 - question about pvmove

2009-07-13 Thread Mike Castle
On Mon, Jul 13, 2009 at 12:24 PM, Boyd Stephen Smith Jr. wrote: > pvcreate /dev/sdc1 > pvcreate /dev/sdc2 > pvcreate /dev/sdc3 > pvcreate /dev/sdc4 > vgextend $vg /dev/sdc1 > vgextend $vg /dev/sdc2 > vgextend $vg /dev/sdc3 > vgextend $vg /dev/sdc4 > pvmove /dev/sda2 > pvmove /dev/sdb > vgreduce $vg

Re: lvm2 - question about pvmove

2009-07-13 Thread Boyd Stephen Smith Jr.
In <4a5b841e.7010...@cox.net>, Ron Johnson wrote: >> In your case, you'll have to add at least 3 of the new PVs to the VG >> before pvmove will let you begin. Are you going to move swap onto LVM? >> If not, make sure your partition table for the new drive still has space >> for swap. > >So pvmove

Re: lvm2 - question about pvmove

2009-07-13 Thread Boyd Stephen Smith Jr.
In <4a5b8105.2020...@cox.net>, Ron Johnson wrote: >On 2009-07-13 12:55, Mike Castle wrote: >> On Mon, Jul 13, 2009 at 10:41 AM, Ron Johnson wrote: >>> What if I want 4 "small" partitions instead of one monster 1TB >>> partition? I've read that you need a target at least as large as the >>> source.

Re: lvm2 - question about pvmove

2009-07-13 Thread Ron Johnson
On 2009-07-13 13:32, Boyd Stephen Smith Jr. wrote: In <4a5b26b9.50...@cox.net>, Ron Johnson wrote: I have a 640GB drive that's starting to throw errors, so I'm going to replace it with a 1TB drive. The 640GB (596GiB) drive is partitioned into: sdb1 - 2GiB swap sdb2 - 594GiB lvm

Re: lvm2 - question about pvmove

2009-07-13 Thread Ron Johnson
On 2009-07-13 12:55, Mike Castle wrote: On Mon, Jul 13, 2009 at 10:41 AM, Ron Johnson wrote: What if I want 4 "small" partitions instead of one monster 1TB partition? I've read that you need a target at least as large as the source. (I've got this aching feeling that 1TB partitions are just no

Re: lvm2 - question about pvmove

2009-07-13 Thread Boyd Stephen Smith Jr.
In <4a5b26b9.50...@cox.net>, Ron Johnson wrote: >I have a 640GB drive that's starting to throw errors, so I'm going >to replace it with a 1TB drive. > >The 640GB (596GiB) drive is partitioned into: >sdb1 - 2GiB swap >sdb2 - 594GiB lvm2 member > >When I get t

Re: lvm2 - question about pvmove

2009-07-13 Thread Mike Castle
On Mon, Jul 13, 2009 at 10:41 AM, Ron Johnson wrote: >> > > What if I want 4 "small" partitions instead of one monster 1TB partition? > I've read that you need a target at least as large as the source. > > (I've got this aching feeling that 1TB partitions are just not a good idea, > and that granu

Re: lvm2 - question about pvmove

2009-07-13 Thread Ron Johnson
On 2009-07-13 11:54, Mike Castle wrote: Don't try to do two things at once. If something goes wrong, you won't know which is the cause. Just put in the new drive and partition it into swap + lvm swapoff /dev/sda1 vi /etc/fstab # remove swap pvcreate vgextend pvmove -v /dev/sdb2 What if I w

Re: lvm2 - question about pvmove

2009-07-13 Thread Mike Castle
Don't try to do two things at once. If something goes wrong, you won't know which is the cause. Just put in the new drive and partition it into swap + lvm swapoff /dev/sda1 vi /etc/fstab # remove swap pvcreate vgextend pvmove -v /dev/sdb2 vgreduce /dev/sdb2 shutdown and remove the bad drive

Re: lvm2 - question about pvmove

2009-07-13 Thread Ron Johnson
On 2009-07-13 09:42, Johannes Wiedersich wrote: Ron Johnson wrote: When I get the new device, I want to create 4x 250GB PVs, and then move Why? Any reason why not just less PVs? Granularity. -- Scooty Puff, Sr The Doom-Bringer -- To UN

Re: lvm2 - question about pvmove

2009-07-13 Thread Johannes Wiedersich
Ron Johnson wrote: > When I get the new device, I want to create 4x 250GB PVs, and then move Why? Any reason why not just less PVs? Cheers, Johannes -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsub

lvm2 - question about pvmove

2009-07-13 Thread Ron Johnson
Hi, I have a 640GB drive that's starting to throw errors, so I'm going to replace it with a 1TB drive. The 640GB (596GiB) drive is partitioned into: sdb1 - 2GiB swap sdb2 - 594GiB lvm2 member When I get the new device, I want to create 4x 250GB PVs, and then move the contents of

Re: Boot issue, new installation of Lenny with mirrored /boot and mirrored lvm2

2009-07-03 Thread Andrew McGlashan
Hi Franklin, On Fri, July 3, 2009 4:36 pm, Frank Lin PIAT wrote: > Your problem is probably inside your /boot/initrd... file > > You might want to "rebuild" it, using update-initramfs Tried that, multiple ways: update-initramfs -u -k all update-initramfs -n -k all > Also, did you read /usr/shar

Re: Boot issue, new installation of Lenny with mirrored /boot and mirrored lvm2

2009-07-02 Thread Frank Lin PIAT
g up on the lvm volume group (not found) ... > from there I can activate the md0 and md1 mirrors and activate the lvm2 > logical volumes, I then exit the sh and boot continues as normal. > > I've checked the kernel and module files for each machine, they are 100% > identical

Boot issue, new installation of Lenny with mirrored /boot and mirrored lvm2

2009-07-02 Thread Andrew McGlashan
Hi, I have 2x IBM xSeries 346 servers, one has a RAID card (let's call this machine "346a") and the other only has onboard SCSI (346b). Both have two RAID1 software mirrors -- one for /boot (/dev/md0) and the other for lvm2 use (/dev/md1). Both are running the same amd64

Re: Informations about LVM2

2009-04-16 Thread Gilles Mocellin
Le Thursday 16 April 2009 17:03:20 Sylvain Dauthieux, vous avez écrit : > ok, but how i can compare 2 snapshots ? > > How access to snapshot's blocks (data modified) ? > > Can you help me please, i cannot any more what to do ! > > Thanks. > > Sylvain Dauthieux Tell us how you would have used lvmsa

Re: Re: Informations about LVM2

2009-04-16 Thread Sylvain Dauthieux
ok, but how i can compare 2 snapshots ? How access to snapshot's blocks (data modified) ? Can you help me please, i cannot any more what to do ! Thanks. Sylvain Dauthieux -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listm

Re: Informations about LVM2

2009-04-16 Thread Cowley Harris
Jr. : >> In <464aa698-33b4-464a-b5be-85e3db338...@gmail.com>, Sylvain Dauthieux wrote: >>>My problem is : "lvmsar" and "lvmsadc" are not implemented. >> >> Yeah, they never have been in Linux LVM2.  They probably never will be >> because >>

Re: Informations about LVM2

2009-04-16 Thread Cowley Harris
Hi 2009/4/16 Boyd Stephen Smith Jr. : > In <464aa698-33b4-464a-b5be-85e3db338...@gmail.com>, Sylvain Dauthieux wrote: >>My problem is : "lvmsar" and "lvmsadc" are not implemented. > > Yeah, they never have been in Linux LVM2.  They probably never

Re: Informations about LVM2

2009-04-16 Thread Boyd Stephen Smith Jr.
In <464aa698-33b4-464a-b5be-85e3db338...@gmail.com>, Sylvain Dauthieux wrote: >My problem is : "lvmsar" and "lvmsadc" are not implemented. Yeah, they never have been in Linux LVM2. They probably never will be because the standard methods of monitoring block device

Re: Informations about LVM2

2009-04-16 Thread Cowley Harris
First time replying so please forgive any first time mistakes. If you "apt-cache show lvm2" what do you see? if you run "apt-file list lvm2 | egrep 'lvmsar|lvmsadc' " Does it show lvmsar and lvmsadc as being present? >From the documentation I've read

Informations about LVM2

2009-04-16 Thread Sylvain Dauthieux
Hi all, I'm a student in Master in French and i'm working on lvm2 (OS : Linux Debian etch) I need to use "lvmsar" and "lvmsadc" to collect informations about data in snapshots. I would like to compare 2 snapshots (modified block). My problem is :

cryptdisks & lvm2 startup sequence

2009-03-22 Thread Tapani Tarvainen
obvious: /etc/rcS.d had S26cryptdisks-early S26lvm2 S28cryptdisks Since the volumes in question are not available until the later cryptdisks script is done, the lvm2 script doesn't see them and the volume groups in them aren't activated. I can fix this in two ways (tested, both work): (1

Re: lvm2 and e2fsck

2009-02-24 Thread Ron Johnson
On 02/24/2009 06:15 PM, Matthew Moore wrote: On Tuesday 24 February 2009 02:44:14 pm Ron Johnson wrote: [snip] No, I definitely have /sbin/fsck.ext4. But running it doesn't fix the group descriptor error? This person is having the same problem and looks to have resorted to dumping the fs and

Re: lvm2 and e2fsck

2009-02-24 Thread Matthew Moore
On Tuesday 24 February 2009 02:44:14 pm Ron Johnson wrote: > This looks reasonable. > # lvdisplay > Logging initialised at Tue Feb 24 15:42:45 2009 > Set umask to 0077 > lvdisplayFinding all logical volumes > lvdisplay --- Logical volume --- > lvdisplay LV Name/dev/m

  1   2   3   >