Re: LVM question

2015-04-20 Thread Dark Victorian Spirit
Clear, thanks :) On Mon, Apr 20, 2015 at 11:46:38AM +0100, Darac Marjal wrote: > On Mon, Apr 20, 2015 at 12:05:17PM +0200, Dark Victorian Spirit wrote: > > I hope i can ask a question on top of this one, > > what if i have a PV which is configured and in use for a while, > > but i found out that i

Re: LVM question

2015-04-20 Thread Darac Marjal
On Mon, Apr 20, 2015 at 12:05:17PM +0200, Dark Victorian Spirit wrote: > I hope i can ask a question on top of this one, > what if i have a PV which is configured and in use for a while, > but i found out that i forgot to set the pertition type on LVM. > > Can i still change this without data loss

Re: LVM question

2015-04-20 Thread Dark Victorian Spirit
I hope i can ask a question on top of this one, what if i have a PV which is configured and in use for a while, but i found out that i forgot to set the pertition type on LVM. Can i still change this without data loss or risk? And if i don't will i face issues of another kind? On Mon, Apr 20, 20

Re: LVM question

2015-04-20 Thread Petter Adsen
On Mon, 20 Apr 2015 10:33:13 +0100 Darac Marjal wrote: > On Mon, Apr 20, 2015 at 09:26:54AM +0200, Petter Adsen wrote: > > Is it possible to have two VGs on the same PV? > > I don't believe so. The VG is the mapping layer in the LVM stack. It > maps the LVs to the PVs. If you were to share a PV

Re: LVM question

2015-04-20 Thread Darac Marjal
On Mon, Apr 20, 2015 at 09:26:54AM +0200, Petter Adsen wrote: > Is it possible to have two VGs on the same PV? I don't believe so. The VG is the mapping layer in the LVM stack. It maps the LVs to the PVs. If you were to share a PV between VGs, then you'd need some way to tell the VGs which parts o

LVM question

2015-04-20 Thread Petter Adsen
Is it possible to have two VGs on the same PV? If so, how can I make a VG with lots of free space smaller? I'm suspecting that the answer to my first question is "no", since this doesn't seem possible from the man pages. Petter -- "I'm ionized" "Are you sure?" "I'm positive." pgpkZgFpuk4rE.pg

Re: LVM question: what's the difference between /dev/mapper/vg-lv and /dev/vg/lv

2011-08-24 Thread yudi v
> > There should be none. > >Note, however, that /dev/mapper/ may contain non-LVM specials as >well, such as cryptsetup(8) ones. > >My guess is that /dev/VG/LV may provide some sort of backwards >compatibility, as LVM may have been implemented before Linux's

Re: LVM question: what's the difference between /dev/mapper/vg-lv and /dev/vg/lv

2011-08-23 Thread Ivan Shmakov
> yudi v writes: > I created a LV and was going to use the following command to create a > file system: > mkfs.ext4 /dev/vg/lv > someone suggested I use: > mkfs.ext4 /dev/mapper/vg-lv > What's the difference? There should be none. Note, however, that /dev/mapper/ m

Re: LVM question: what's the difference between /dev/mapper/vg-lv and /dev/vg/lv

2011-08-23 Thread Andrew McGlashan
Hi Yudi, yudi v wrote: I created a LV and was going to use the following command to create a file system: mkfs.ext4 /dev/vg/lv someone suggested I use: mkfs.ext4 /dev/mapper/vg-lv What's the difference? Perhaps nothing, provided it is mapped properly: # ls -lart /dev/mapper/vg0-root /de

LVM question: what's the difference between /dev/mapper/vg-lv and /dev/vg/lv

2011-08-23 Thread yudi v
I created a LV and was going to use the following command to create a file system: mkfs.ext4 /dev/vg/lv someone suggested I use: mkfs.ext4 /dev/mapper/vg-lv What's the difference? -- Kind regards, Yudi

Re: bug in installer? (was Re: debian testing installer & encrypted LVM question)

2009-07-06 Thread Boyd Stephen Smith Jr.
In <4a50a818.8060...@ccf.auth.gr>, Γιώργος Πάλλας wrote: >Anyway, does it make >any sense to partition a logical volume? Not usually. Might be useful in some odd corner case -- Boyd Stephen Smith Jr. ,= ,-_-. =. b...@iguanasuicide.net ((_/)o o(\_)) ICQ: 514984

Re: bug in installer? (was Re: debian testing installer & encrypted LVM question)

2009-07-05 Thread Γιώργος Πάλλας
Jochen Schulz wrote: Giorgos Pallas: -> failed to create a file system The ext3 file system creation in partition #1 of LVM VG vg1, LV rootFS failed -- snip Is this supposed to happen? Did I do something wrong? I had the same issue when using the AMD64 squeeze installer a few

Re: bug in installer? (was Re: debian testing installer & encrypted LVM question)

2009-07-04 Thread Jochen Schulz
Giorgos Pallas: > > -> failed to create a file system > The ext3 file system creation in partition #1 of LVM VG vg1, LV rootFS > failed -- snip > Is this supposed to happen? Did I do something wrong? I had the same issue when using the AMD64 squeeze installer a few days ago. I think it is a bug,

Re: bug in installer? (was Re: debian testing installer & encrypted LVM question)

2009-07-04 Thread Giorgos Pallas
Giorgos Pallas wrote: > Hi all! > > To me it looks like a bug, but I'd like to show it to the list before > filing it as a bug. > > My goal is to install debian testing using encrypted LVM, but not using > the entire disk: I want to keep a free partition for installing vista > (for educational purp

bug in installer? (was Re: debian testing installer & encrypted LVM question)

2009-07-04 Thread Giorgos Pallas
Hi all! To me it looks like a bug, but I'd like to show it to the list before filing it as a bug. My goal is to install debian testing using encrypted LVM, but not using the entire disk: I want to keep a free partition for installing vista (for educational purposes...). So, the steps that creat

Re: debian testing installer & encrypted LVM question

2009-07-03 Thread Suno Ano
Giorgos> Hello to everybody! My laptop has a partition with Vista and Giorgos> the rest of the disk is free space. I boot the debian Giorgos> installer cd and the question is: can I somehow select the Giorgos> 'lvm + encrypt' scheme while preserving the vista partition? Giorgos> This 'use ent

debian testing installer & encrypted LVM question

2009-07-03 Thread Giorgos Pallas
Hello to everybody! My laptop has a partition with Vista and the rest of the disk is free space. I boot the debian installer cd and the question is: can I somehow select the 'lvm + encrypt' scheme while preserving the vista partition? This 'use entire disk' which goes along the encrypted lvm trou

Re: Managing the physical re-arrangement of my disks (boot sector question and lvm question)

2006-08-14 Thread Alan Chandler
On Monday 14 August 2006 08:49, Russell L. Harris wrote: > Alan Chandler <[EMAIL PROTECTED]> writes: > > 1) > > Before finally removing it, I would like to set up the disk that is > > currently in /dev/hdc with a boot sector and filesystem, such that when > > re-install it as /dev/hda it just boots

Re: Managing the physical re-arrangement of my disks (boot sector question and lvm question)

2006-08-14 Thread Russell L. Harris
Alan Chandler <[EMAIL PROTECTED]> writes: > 1) > Before finally removing it, I would like to set up the disk that is currently > in /dev/hdc with a boot sector and filesystem, such that when re-install it > as /dev/hda it just boots up the root filesystem in its first partition. > Obviously I c

Managing the physical re-arrangement of my disks (boot sector question and lvm question)

2006-08-13 Thread Alan Chandler
I have a debian sarge server with 3 ide drives. Apart from the root filesystem on its own ext3 partition (hda1), the remainder of these disks use lvm partitions. I use grub to manage the boot process. I am about to try and upgrade with some new SATA disks, but from a case/power consumption po

Re: LVM question SOLVED

2006-02-09 Thread Gabe Granger
I managed to work out what was wrong! instead of using /dev/mapper/onboard--sata-static I should have used /dev/onboard-sata/static as soon as i made this simple change everything worked :) sorry for being such a newbieOn 9 Feb 2006, at 16:47, Gabe Granger wrote:Thanks for pointing me in the ri

Re: LVM question

2006-02-09 Thread Gabe Granger
Thanks for pointing me in the right direction, i did the followingresize_reiserfs -s-14G /dev/mapper/onboard--sata-static Which finished saying "resize_reiserfs: Resizing finished successfully."But when I then tried to resize the LV using lvreduce -L -14G /dev/mapper/onboard--sata-staticI get the f

LVM question

2006-02-09 Thread Gabe Granger
I've just installed linux on a new machine and thought I'd give RAID + LVM a go :) I've now discovered that I've created them the wrong sizes. I now need to shrink one and extend the other. I want to shrink LV /dev/onboard-sata/static by 20GB then extend LV / dev/onboard-sata/home by 20Gb.

Re: A Newbie LVM Question

2004-03-04 Thread Bill Carlson
On Thu, 4 Mar 2004, stan wrote: > I geuss at this point I don't have any serious problems with creating these > links by hand, but I would appreciate soemone who has this workign telling > me exactly what links ot make. I'm thinking that this needs to run _very_ > early in the startup sequence, ri

Re: A Newbie LVM Question

2004-03-04 Thread stan
04 08:13:18 -0500 > > > > From: stan <[EMAIL PROTECTED]> > > > > To: [EMAIL PROTECTED] > > > > Subject: Re: A Newbie LVM Question > > > > > > > > On Wed, Mar 03, 2004 at 02:42:30PM -0500, stan wrote: > > > > >

Re: A Newbie LVM Question

2004-03-04 Thread John Schmidt
t; To: [EMAIL PROTECTED] > > > Subject: Re: A Newbie LVM Question > > > > > > On Wed, Mar 03, 2004 at 02:42:30PM -0500, stan wrote: > > > > On Wed, Mar 03, 2004 at 09:37:06AM +0100, Erich Waelde wrote: > > > > Content-Description: message body te

Re: A Newbie LVM Question

2004-03-04 Thread stan
On Thu, Mar 04, 2004 at 05:09:02PM +0200, Alexei Chetroi wrote: > On Thu, Mar 04, 2004 at 08:13:18AM -0500, stan wrote: > > Date: Thu, 4 Mar 2004 08:13:18 -0500 > > From: stan <[EMAIL PROTECTED]> > > To: [EMAIL PROTECTED] > > Subject: Re: A Newbie LVM Question &g

Re: A Newbie LVM Question

2004-03-04 Thread Alexei Chetroi
On Thu, Mar 04, 2004 at 08:13:18AM -0500, stan wrote: > Date: Thu, 4 Mar 2004 08:13:18 -0500 > From: stan <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Re: A Newbie LVM Question > > On Wed, Mar 03, 2004 at 02:42:30PM -0500, stan wrote: > > On Wed, Mar 03, 2

Re: A Newbie LVM Question

2004-03-04 Thread stan
On Wed, Mar 03, 2004 at 02:42:30PM -0500, stan wrote: > On Wed, Mar 03, 2004 at 09:37:06AM +0100, Erich Waelde wrote: > Content-Description: message body text > > > > Hi, > > > > stan <[EMAIL PROTECTED]> wrote: > > > > > I've played with LVM on HP-UX, but only just enough to get a firm > > > ha

Re: A Newbie LVM Question

2004-03-03 Thread stan
On Wed, Mar 03, 2004 at 09:37:06AM +0100, Erich Waelde wrote: Content-Description: message body text > > Hi, > > stan <[EMAIL PROTECTED]> wrote: > > > I've played with LVM on HP-UX, but only just enough to get a firm > > handle on the fact that I don't understand the complexities of it, > > and

Re: A Newbie LVM Question

2004-03-03 Thread Erich Waelde
Hi, stan <[EMAIL PROTECTED]> wrote: > I've played with LVM on HP-UX, but only just enough to get a firm > handle on the fact that I don't understand the complexities of it, > and that is easy to screw up, but hard to fix :-) > > So, I find myself building a Debian MytTV machine. In addition >

Re: A Newbie LVM Question

2004-03-03 Thread Alexei Chetroi
On Tue, Mar 02, 2004 at 07:22:24PM -0500, stan wrote: > Date: Tue, 2 Mar 2004 19:22:24 -0500 > From: stan <[EMAIL PROTECTED]> > Subject: A Newbie LVM Question > > I've played with LVM on HP-UX, but only just enough to get a firm > handle on the fact that I don't

A Newbie LVM Question

2004-03-02 Thread stan
I've played with LVM on HP-UX, but only just enough to get a firm handle on the fact that I don't understand the complexities of it, and that is easy to screw up, but hard to fix :-) So, I find myself building a Debian MytTV machine. In addition to the 40G root drive, I installed 2 other drives,