lubuntu-14.04-alternate-powerpc.iso missing fsadm so lvreduce --resizefs aborts...
Mark Millard
markmi at dsl-only.net
Tue Jul 8 03:15:45 UTC 2014
Hi.
My original report to the list was informational (and cross checking) since I did not find any references to the issue when I looked around. My report did not even ask for help.
Installing from the same .iso installed fsadm and the lvm software just fine and I also had no trouble setting up my lvm configuration in the first place. I've also been able to do everything that I wanted that is allowed for use on a already existing lvm context with / coming from the lvm live. (My use is at the simple end of things for lvm so far.)
But one can not do an action that includes a reduce (shrink) to a live / (the root file system). So I tried to do that from the rescue-powerpc selection from the CD (so booted from different root). This is what I was reporting as not covered by the rescue-powerpc use of the CD. (apt-get is also missing from that context.) It may be that lvm's coverage for rescue-powerpc is just not to be complete due to space requirements and the relative priorities for what can be done fairly directly booted from that media via that selection. Such is not for me to say.
Quoting http://askubuntu.com/questions/124465/how-do-i-shrink-the-root-logical-volume-lv-on-lvm ...
> It is not possible (to my knowledge) to shrink a filesystem while it is mounted, so we need to do the actual resizing from a Live CD.
As far as I can tell this is still true. For my old iMac G3 context larger media does not work (the internal slot-drive is a CD-only one). I've not got around to setting up yet another alternate boot technique to some other root file system in order to do the reduction from where I can get everything required in place. At some point I will take the time to deal with doing that.
I've not yet created an account to submit bug reports with. It may be a bit before I get to that.
===
Mark Millard
markmi at dsl-only.net
On Jul 7, 2014, at 7:13 PM, Phill Whiteside <PhillW at PhillW.net> wrote:
Hi,
I recall that desktop PPC went over size. Julien took a sword to the alternate in order to ensure it is CD sized. In my humble opinion, people wanting to use LVM's should know how to install the tools needed. (I use LVM's, run 11 KVM machines and also SEL :D ).
Do feel free to raise a bug report, I'm hopeful that it is not a massive job for Julien to add in the library for 14.04.1, but I also do not want to peck him to the point he gets fed up of PPC.
Regards,
Phill.
On 8 July 2014 02:56, Mark Millard <markmi at dsl-only.net> wrote:
[Answering Israel's md5 question...]
MD5 (/Volumes/MiscStuff/lubuntu-14.04-alternate-powerpc.iso) = 4d9e511daf41dbc44f4506958f0e70f9
vs. from http://cdimage.ubuntu.com/lubuntu/releases/14.04/release/MD5SUMS
4d9e511daf41dbc44f4506958f0e70f9 *lubuntu-14.04-alternate-powerpc.iso
Extracting the relevant text on matching lines:
4d9e511daf41dbc44f4506958f0e70f9
4d9e511daf41dbc44f4506958f0e70f9
An exact match.
So fsadm is missing from the command shell environment that one has access to for rescue-powerpc use of lubuntu-14.04-alternate-powerpc.iso burned to a CD. Without it various lvm activities can not be done from that environment. But that environment appears to be intended to allow the activities one can not do with a live file system. The configuration just happened to miss covering the specific type of use.
On Thu Jul 3 11:23:13 UTC 2014 Isreal had written...
> Hi,
> Did you do a md5sum of the image file you downloaded?
> It is an odd thing we sometimes forget that can cause really wacky
> problems in my experience.
>
On 07/02/2014 10:22 PM, Mark Millard wrote:
> But apt-get is also not available from that shell prompt and
>
> find / -name apt-get -print
>
> does not find anything.
>
> Similarly for sudo. (One is already "root" in this CD-boot context so
> I doubt sudo is ever required.)
>
> Notably
>
> find / -name 'lvr*' -print
>
> finds the relevant /sbin/lvr* lvm programs just fine. But fsadm is
> missing.
>
> ===
> Mark Millard
> markmi at dsl-only.net <mailto:markmi at dsl-only.net>
>
> On Jul 2, 2014, at 8:12 PM, Andre Rodovalho <andre.rodovalho at gmail.com
> <mailto:andre.rodovalho at gmail.com>> wrote:
>
> The command is*sudo apt-get install **lvm2*
>
> Sorry about the first email...
>
>
> 2014-07-03 0:08 GMT-03:00 Andre Rodovalho <andre.rodovalho at gmail.com
> <mailto:andre.rodovalho at gmail.com>>:
>
> do a *sudo apt-get install fsadm*
>
>
> 2014-07-02 22:44 GMT-03:00 Mark Millard <markmi at dsl-only.net
> <mailto:markmi at dsl-only.net>>:
>
> Selecting to boot the CD for "rescue-powerpc", selecting to
> not mount a root file system from the PowerMac, selecting to
> get to the shell, and typing
>
> find / -name fsadm -print
>
> does not find a fsadm anywhere.
>
> Naturally enough typing "fsadm -h" at the command prompt
> results in the message
>
> /bin/sh: fsadm: not found
>
>
> ===
> Mark Millard
> markmi at dsl-only.net <http://dsl-only.net/>
>
> On Jul 2, 2014, at 6:08 PM, Phill Whiteside <PhillW at PhillW.net
> <mailto:PhillW at PhillW.net>> wrote:
>
> can you report the outcome of
>
> fsadm -h
>
> Regards,
>
> Phill.
>
>
> On 3 July 2014 01:52, Mark Millard <markmi at dsl-only.net
> <mailto:markmi at dsl-only.net>> wrote:
>
> I wanted to release about 45G Bytes of free space from a
> root file system that is in lvm and so I tried to use a CD
> built from lubuntu-14.04-alternate-powerpc.iso to do
> lvreduce --resizefs. Unfortunately the attempted use of
> lvreduce reports that it could not find fsadm (and fsadm
> is not in the live file system's /sbin/ with the lv* tools).
>
> Part of the purpose for "rescue-powerpc" (and the like)
> should be to do operations that can not be done with a
> live (root) filesystem. Looks like this specific kind of
> example of that has been missed.
>
> I have not checked if other processor families have
> similar issues for their "alternate" CDs or if the issue
> is specific to lubuntu vs. existing in other ubuntu
> variants. Nor have I checked other types of .iso's for
> powerpc.
>
> ===
> Mark Millard
> markmi at dsl-only.net <http://dsl-only.net/>
>
>
>
> --
> Lubuntu-users mailing list
> Lubuntu-users at lists.ubuntu.com
> <mailto:Lubuntu-users at lists.ubuntu.com>
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/lubuntu-users
>
>
>
>
> --
> https://wiki.ubuntu.com/phillw
>
>
> --
> Lubuntu-users mailing list
> Lubuntu-users at lists.ubuntu.com
> <mailto:Lubuntu-users at lists.ubuntu.com>
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/lubuntu-users
>
>
>
>
>
>
===
Mark Millard
markmi at dsl-only.net
--
Lubuntu-users mailing list
Lubuntu-users at lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/lubuntu-users
--
https://wiki.ubuntu.com/phillw
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/lubuntu-users/attachments/20140707/359213ac/attachment-0001.html>
More information about the Lubuntu-users
mailing list