Bug#245704: didn't write changes before going to LVM

2004-05-06 Thread Martin Michlmayr
* tbm [EMAIL PROTECTED] [2004-05-03 20:35]:
 Ah, I see... so what's the proper fix for this?  Will you fix #223388
 and add an option to display the selected type, and lvmcfg should then
 run /usr/lib/partconf/find-partitions with that option?

Oh, partconf... I guess lvmcfg-utils and mdcfg-utils should not use
/usr/lib/partconf/find-partitions at all, but some other mechanism
(look at partman files).  Right?  Can you give me a quick hint what
to check?  I guess it should look through all devices and look for
method = raid ?

-- 
Martin Michlmayr
[EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#245704: didn't write changes before going to LVM

2004-05-03 Thread Anton Zinoviev
On 24.IV.2004 at 20:27 (+0100) Martin Michlmayr wrote:
 
 and then went to the LVM configuration tool.  But creating a VG told
 me that no physical volume (PV) exists... I went to a shell and pvscan
 could not find anything.  fdisk showed that #7 was marked as LVM,
 though. 

This is caused by #223388.  The function get_pvs of lvmcfg.sh invokes
/usr/lib/partconf/find-partitions, however find-partition doesn't list
all LVM partitions as being LVM but only those that do not contain any
file system.

Hence you can not use a partition with existing file system for
phisical volume...

 The other interesting thing is that when I entered the LVM
 config menu, partman told me it would write its changes to disk, but
 then it did not do anything (hmmm, maybe the first time I answered
 this question with no (i.e. don't write changes), but I definitely
 answered yes the second try.

I belive that the changes were written, so I am simply reassinging
this but to lvmcfg.

Anton Zinoviev


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#245704: didn't write changes before going to LVM

2004-05-03 Thread Martin Michlmayr
* Anton Zinoviev [EMAIL PROTECTED] [2004-05-03 22:32]:
 This is caused by #223388.  The function get_pvs of lvmcfg.sh invokes
 /usr/lib/partconf/find-partitions, however find-partition doesn't list
 all LVM partitions as being LVM but only those that do not contain any
 file system.
 
 Hence you can not use a partition with existing file system for
 phisical volume...

Ah, I see... so what's the proper fix for this?  Will you fix #223388
and add an option to display the selected type, and lvmcfg should then
run /usr/lib/partconf/find-partitions with that option?
-- 
Martin Michlmayr
[EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#245704: didn't write changes before going to LVM

2004-04-24 Thread Martin Michlmayr
Package: partman
Version: 34

I wanted to crrate swap on #3, root on #6 (ext3) and LVM on #7.  #3
had swap already, #6 ext3 already, but I told it to reformat anyway.
#7 was ext2 before, but I wanted LVM.  I configured this in partman:

 IDE1 master - 30.7 GB Maxtor 6E030L0 
   #1 primary9.7 MB B   ext2 
   #2 primary4.9 GB ext2 
   #3 primary  511.9 MB   F swap   swap  
   #5 logical5.0 GB ext3 
   #6 logical4.9 GB   F ext3   / 
   #7 logical   15.2 GB   F lvm  

and then went to the LVM configuration tool.  But creating a VG told
me that no physical volume (PV) exists... I went to a shell and pvscan
could not find anything.  fdisk showed that #7 was marked as LVM,
though.  The other interesting thing is that when I entered the LVM
config menu, partman told me it would write its changes to disk, but
then it did not do anything (hmmm, maybe the first time I answered
this question with no (i.e. don't write changes), but I definitely
answered yes the second try.

/var/log/partman is attached.
-- 
Martin Michlmayr
[EMAIL PROTECTED]


partman.bz2
Description: Binary data