Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 159741 - sys-fs/evms by default uses dos segment manager on ppc
Summary: sys-fs/evms by default uses dos segment manager on ppc
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: High normal (vote)
Assignee: Tiziano Müller (RETIRED)
URL:
Whiteboard:
Keywords:
: 159742 159743 159751 (view as bug list)
Depends on:
Blocks: 372423
  Show dependency tree
 
Reported: 2007-01-02 11:07 UTC by Florian Friesdorf
Modified: 2011-07-03 09:20 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Friesdorf 2007-01-02 11:07:38 UTC
I have an ibook G4 with linux and Mac OS X installed and a free partition. I want to use evms to use the free area. However, evms uses the dos segment manager by default. Deleting /lib/evms/2.5.5/dos-1.1.16.so circumvents the problem (the mac segment manager is used then), but does not feel to be the right solution.
Comment 1 Tiziano Müller (RETIRED) gentoo-dev 2007-01-02 11:52:24 UTC
*** Bug 159742 has been marked as a duplicate of this bug. ***
Comment 2 Tiziano Müller (RETIRED) gentoo-dev 2007-01-02 11:52:50 UTC
*** Bug 159743 has been marked as a duplicate of this bug. ***
Comment 3 Tiziano Müller (RETIRED) gentoo-dev 2007-01-02 11:53:10 UTC
*** Bug 159751 has been marked as a duplicate of this bug. ***
Comment 4 Tiziano Müller (RETIRED) gentoo-dev 2007-01-02 13:08:44 UTC
Using evmsn, you can go to Actions->Add and then "Add segment manager", did you try that?
Comment 5 Florian Friesdorf 2007-01-03 05:05:47 UTC
(In reply to comment #4)
> Using evmsn, you can go to Actions->Add and then "Add segment manager",
> did you try that?

yes - that is only available for harddrives that are not in use. I think the solution would be, that evms detects that there is a mac partition map and therefore uses the mac segment manager. Maybe changing the order of segment managers being tested could work.
Comment 6 Tiziano Müller (RETIRED) gentoo-dev 2007-01-03 05:28:00 UTC
I don't completely get it.
You started with a LiveCD, called evms{n,gui} and created a new segment? And then, did you add a lvm2-volume-manager? At which point did it "fail"? Could you describe a bit the steps, please?
The problem is that you might need the dos segment manager for external hd's for example so removing it isn't really a good solution.
Comment 7 Florian Friesdorf 2007-01-03 06:25:30 UTC
(In reply to comment #6)
> I don't completely get it.
> You started with a LiveCD, called evms{n,gui} and created a new segment? And
> then, did you add a lvm2-volume-manager? At which point did it "fail"? Could
> you describe a bit the steps, please?

I installed Gentoo a while ago and had 35GB Linux and 35GB Mac OS X. As I am not using Mac OS X much anymore I decided to delete all the unnecessary parts and shrinked (parted) the Mac OS X partition. Now, I have one Linux partition with my current system, which is booted (hda5), one Mac OS X partition (hda3) and one empty partition currently named linux2 (hda7), i.e. my harddisk is already partitioned.

I want now to add hda7 to an evms container and then move my system from hda5 into the volumes coming from that container. Once migrated I want to add hda5 to the container and then gradually expand my volumes as needed. 

The problem discussed here is, that evms uses the dos segment manager and only the mac segment manager when I delete the dos segment manager. In addition to that the partition numbering of the mac segment manager is not correct (see 
http://bugs.gentoo.org/show_bug.cgi?id=159838)

> The problem is that you might need the dos segment manager for external hd's
> for example so removing it isn't really a good solution.

I completely agree on that! 

thx for the fast reactions!

partition list:
# mac-fdisk -l /dev/hda
/dev/hda
        #                    type name                  length   base      ( size )  system
/dev/hda1     Apple_partition_map Apple                     63 @ 1         ( 31.5k)  Partition map
/dev/hda2              Apple_Free Extra                 262144 @ 64        (128.0M)  Free space
/dev/hda3               Apple_HFS Apple_HFS_Untitled_1  29034668 @ 262208    ( 13.8G)  HFS
/dev/hda4         Apple_Bootstrap bootstrap               1600 @ 78150808  (800.0k)  NewWorld bootblock
/dev/hda5         Apple_UNIX_SVR2 linux1              73400320 @ 78152408  ( 35.0G)  Linux native
/dev/hda6         Apple_UNIX_SVR2 swap                 4748760 @ 151552728 (  2.3G)  Linux swap
/dev/hda7         Apple_UNIX_SVR2 linux2              48853932 @ 29296876  ( 23.3G)  Linux native

Comment 8 Markos Chandras (RETIRED) gentoo-dev 2011-07-03 09:20:07 UTC
sys-fs/evms has been removed from portage tree