UUID confusion revisited

Alan E. Davis lngndvs at gmail.com
Sat Mar 29 06:32:42 UTC 2008


Answering my own questions.  I have solved my problem temporarily.  The
UUIDs in the fstab for one of the partitions was incorrect.  I am still
baffled.  I apologize, if indeed this was a problem resulting from my
personal indiligence.

I'll deal with the other partitions later.

Alan

On Sat, Mar 29, 2008 at 1:56 PM, Alan E. Davis <lngndvs at gmail.com> wrote:

> Thank you for this script.  It shows me some things that are
> troubling, at the least.  It would be nice if the output were labelled
> with  a header.  Meanwhile, do you mind to  take at look at this
> output?  The lines are wrapped badly.  Note sda1, sda2, sda5 (which
> prints out two UUIds that are the same!), and sda6.
>
>
> aed at electrolux:~$ sh ./uuidcompare.sh
> sda1 UUID=357420c4-68ca-4206-b7ad-fec6bbfabd56
> UUID=af948971-8091-4105-85f0-   c471ab886fc8
> sda2 UUID=b652dea8-5619-40ae-ae48-d6d3ced98264
> UUID=8823e2d6-e44b-478f-a54d-c59887ef9637
> sda3 UUID=c8a7e68d-5688-453e-9fae-dd8315358111
> sda5 UUID=862cf3f9-f23e-4ba4-94b8-98e718b51572
> UUID=862cf3f9-f23e-4ba4-94b8-98e718b51572
> sda6 UUID=f6175525-5ff4-44e7-ab35-9bac7ae7ec2a
> UUID=3cf06617-cbb8-4043-a5a8-1f5db420d748
> sda7 UUID=c7a3c324-b660-4acc-8ace-d59cef7bdc8b
> sda8 UUID=b24c270c-445d-4843-8dc6-b5dcc22195e7
> sdb1 UUID=af948971-8091-4105-85f0-c471ab886fc8
> sdb2 UUID=8823e2d6-e44b-478f-a54d-c59887ef9637
> sdb5 UUID=00b7db1e-109d-4787-9abf-fc114d341566
> sdb6 UUID=3cf06617-cbb8-4043-a5a8-1f5db420d748
>
> I swear when I ran this script 15 minutes ago, only two filesystems
> printed out double UUIDs.
>
> Any comments or suggestions?  By the way, /dev/sda5 and sdb5 are a
> real problem.  I have and IDE drive and a SATA drive.  The partitions
> are reassigned at some point during boot after the actual /dev/sda5
> (SATA) has been mounted as swap: the fsck stops at sda5 and says it's
> already mounted.
>
> I have the opinion there are other issues at odds that are not
> reflected in /etc/fstab or df or the listing of /dev/disk/by-uuid.
>
> I am losing hair at a higher than normal rate.
>
> Alan
>
>
>
>
> On Wed, Mar 26, 2008 at 8:40 AM, SYNass IT Ubuntu / Linux
> <i-ubux at synass.net> wrote:
> >
> >
> > On Tue, 2008-03-25 at 08:04 -0700, Smoot Carl-Mitchell wrote:
> > > On Tue, 2008-03-25 at 15:56 +0800, SYNass IT Ubuntu / Linux wrote:
> > >
> > > > sna at WS222:~$ UUIDcomp
> > > > bash: /usr/local/bin/UUIDcomp: Permission denied
> > > > sna at WS222:~$
> > >
> > > Easier way to install scripts is:
> > >
> > > sudo install <scriptname> /usr/local/bin
> > >
> > > The install program sets all the permissions to make the script
> > > executable for you. I always keep copies of any local scripts I write
> in
> > > a source directory e.g. /usr/local/src, usually with the interpreter
> > > extension on the name.
> > >
> > > If I keep UUIDcomp.sh in /usr/local/src/UUID, the above sequence would
> > > be:
> > >
> > > cd /usr/local/src/UUIDcomp
> > >
> > > sudo install UUIDcomp.sh /usr/local/bin/UUIDcomp
> > >
> > > I do not not add extensions to scripts, since I might decide to
> rewrite
> > > them in another language for performance reasons.  Unlikely in this
> > > case, but I do it for consistency.
> > > --
> > > Smoot Carl-Mitchell
> >
> >
> > Hi and thanks for your feedback and suggestion !
> > You are correct and I have already solved it my way with UUIDcomp:
> >
> > To execute it's placed in /usr/local/bin ...
> > ... and the source is stored in /usr/local/own ...
> > ... to be changed / improved if needed ! ;-)
> >
> > We human too need 2 legs: One to stand and another to run !? ;-D
> >
> > With my current location I may run into problems when reinstalling
> > Ubuntu from scratch:
> > Formatting and and reinstalling will delete both the directories and its
> > contents !
> >
> > I better change the current source location to somewhere in my ITC
> > folder under /home !!
> >
> > Cheers, svobi
> >
> >
> >
> >
> >
> > --
> > ubuntu-users mailing list
> > ubuntu-users at lists.ubuntu.com
> > Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
> >
>
>
>
> --
> Alan Davis, Kagman High School, Saipan lngndvs at gmail.com
>
> "It's never a matter of liking or disliking ..."
>  ---Santa Ynez Chumash Medicine Man
>
> "We have no art. We do everything as well as we can." ---Balinese saying
>



-- 
Alan Davis, Kagman High School, Saipan lngndvs at gmail.com

"It's never a matter of liking or disliking ..."
---Santa Ynez Chumash Medicine Man

"We have no art. We do everything as well as we can." ---Balinese saying
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20080329/9e3d819f/attachment.html>


More information about the ubuntu-users mailing list