FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 09-29-2011, 12:58 PM
Kevin Martin
 
Default I've got an interesting problem (at least to me).....

I've got a Toshiba laptop that I have two drives in (/dev/sda and /dev/sdb). I was having some issues with /dev/sda so I bought the
second drive, dd'd drive sda contents to drive sdb, and the removed sda and replaced it. I used sdb for the boot drive until
receiving the replacement. Upon arrival, I inserted the new drive as sda, dd'd the contents from sdb back to sda, and rebooted. It
appears that I'm still rebooting from sdb at this point (which is ok with me). What I don't understand and don't like to see is the
following:

/dev/sda11 on / type ext4 (rw,relatime,user_xattr,barrier=1,data=ordered)
/dev/sdb5 on /boot type ext4 (rw,relatime,user_xattr,barrier=1,data=ordered)
/dev/sda12 on /work type ext4 (rw,relatime,user_xattr,barrier=1,data=ordered)
/dev/sdb7 on /usr type ext4 (rw,relatime,user_xattr,barrier=1,data=ordered)
/dev/sdb8 on /var type ext4 (rw,relatime,user_xattr,barrier=1,data=ordered)
/dev/sda6 on /home type ext4 (rw,relatime,user_xattr,barrier=1,data=ordered)
/dev/sdb9 on /opt type ext4 (rw,relatime,user_xattr,barrier=1,data=ordered)


Why is Fedora (16 x64 beta in this case) cross mounting my partitions? I was halfway considering setting up a mirror for these
drives but not I'm going to have to do some very particular dd'ing to get one drive to be the "latest" files. Is this SOP or is
something odd going on here?

Thanks.

Kevin Martin


--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 09-29-2011, 01:13 PM
Tom Horsley
 
Default I've got an interesting problem (at least to me).....

On Thu, 29 Sep 2011 07:58:06 -0500
Kevin Martin wrote:

> or is
> something odd going on here?

Odds are good that the /etc/fstab file refers to partition UUID
values to identify what to mount. If you have completely duplicated
the driver with a dd command, those UUIDs will be ambiguous and
which ever one it stumbles across first is the one it will use.
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 09-29-2011, 02:57 PM
Kevin Martin
 
Default I've got an interesting problem (at least to me).....

On 09/29/2011 08:13 AM, Tom Horsley wrote:
> On Thu, 29 Sep 2011 07:58:06 -0500
> Kevin Martin wrote:
>
>> or is
>> something odd going on here?
> Odds are good that the /etc/fstab file refers to partition UUID
> values to identify what to mount. If you have completely duplicated
> the driver with a dd command, those UUIDs will be ambiguous and
> which ever one it stumbles across first is the one it will use.
Ooooohhhhh, didn't occur to me that that information would be dd'd! Crud! Guess I'm off to do some partition copies!

Thanks.

Kevin
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 09-29-2011, 03:27 PM
Tom Horsley
 
Default I've got an interesting problem (at least to me).....

On Thu, 29 Sep 2011 09:57:17 -0500
Kevin Martin wrote:

> Ooooohhhhh, didn't occur to me that that information would be dd'd! Crud! Guess I'm off to do some partition copies!

No need for anything that drastic. You could just do something like
use e2label to give the partitions symbolic labels (different
on each disk) and change fstab to use LABEL= instead of UUID=.
I think there is even a tool that lets you change the UUID,
but I don't remember the name or how to use it :-).
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 09-29-2011, 03:36 PM
Kevin Martin
 
Default I've got an interesting problem (at least to me).....

On 09/29/2011 10:27 AM, Tom Horsley wrote:
> On Thu, 29 Sep 2011 09:57:17 -0500
> Kevin Martin wrote:
>
>> Ooooohhhhh, didn't occur to me that that information would be dd'd! Crud! Guess I'm off to do some partition copies!
> No need for anything that drastic. You could just do something like
> use e2label to give the partitions symbolic labels (different
> on each disk) and change fstab to use LABEL= instead of UUID=.
> I think there is even a tool that lets you change the UUID,
> but I don't remember the name or how to use it :-).
Yea, and I'll end up doing that, but the problem is that I've done some yum installs and yum updates and, of course, reading mail,
browsing the internet, etc., and there are now new files here and there on cross partitions that need to be good to go on, at least,
one of the two disks. Then I can do the UUID changes and make sure that I boot from the disk where all of the partitions are
current. I'm thinking I *may* be able to rsync partitions, copying "newer" files back and forth (probably after booting into
Knoppix). That should do it. I'll have to think about it some more and decide on how to do this.

Thanks.

Kevin
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 09-29-2011, 03:45 PM
Joe Wulf
 
Default I've got an interesting problem (at least to me).....

Interesting thread.*
I would like to know a bit more about your process for booting knoppix (which version/edition, too) and rsync'ing between the two* partitions.* Thanks.

From: Kevin Martin <kevintm@ameritech.net>
To: Community support for Fedora users <users@lists.fedoraproject.org>
Sent: Thursday, September 29, 2011 11:36 AM
Subject: Re: I've got an interesting problem (at least to me).....



On 09/29/2011 10:27 AM, Tom Horsley wrote:
> On Thu, 29 Sep 2011 09:57:17 -0500
> Kevin Martin wrote:
>
>> Ooooohhhhh, didn't occur to me that that information would be dd'd!* Crud!* * Guess I'm off to do some partition copies!
> No need for anything that drastic. You could just do something like
> use e2label to give the partitions symbolic labels (different
> on each disk) and change fstab to use LABEL= instead of UUID=.
> I think there is even a tool that lets you change the UUID,
> but I don't remember the name or how to use it :-).
Yea, and I'll end up doing that, but the problem is that I've done some yum installs and yum updates and, of course, reading mail,
browsing the
internet, etc., and there are now new files here and there on cross partitions that need to be good to go on, at least,
one of the two disks.* Then I can do the UUID changes and make sure that I boot from the disk where all of the partitions are
current.* I'm thinking I *may* be able to rsync partitions, copying "newer" files back and forth (probably after booting into
Knoppix).* That should do it.* I'll have to think about it some more and decide on how to do this.

Thanks.

Kevin
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 09-30-2011, 11:19 AM
Kevin Martin
 
Default I've got an interesting problem (at least to me).....

On 09/29/2011 10:45 AM, Joe Wulf wrote:


Interesting thread.*



I would like to know a bit more about your process
for booting knoppix (which version/edition, too) and
rsync'ing between the two* partitions.* Thanks.







From:
Kevin Martin <kevintm@ameritech.net>

To:
Community support for Fedora users
<users@lists.fedoraproject.org>

Sent:
Thursday, September 29, 2011 11:36 AM

Subject:
Re: I've got an interesting problem (at least to
me).....







On 09/29/2011 10:27 AM, Tom Horsley wrote:

> On Thu, 29 Sep 2011 09:57:17 -0500

> Kevin Martin wrote:

>

>> Ooooohhhhh, didn't occur to me that that
information would be dd'd!* Crud!* * Guess I'm off to do
some partition copies!

> No need for anything that drastic. You could just
do something like

> use e2label to give the partitions symbolic labels
(different

> on each disk) and change fstab to use LABEL=
instead of UUID=.

> I think there is even a tool that lets you change
the UUID,

> but I don't remember the name or how to use it :-).

Yea, and I'll end up doing that, but the problem is that
I've done some yum installs and yum updates and, of
course, reading mail,

browsing the internet, etc., and there are now new files
here and there on cross partitions that need to be good
to go on, at least,

one of the two disks.* Then I can do the UUID changes
and make sure that I boot from the disk where all of the
partitions are

current.* I'm thinking I *may* be able to rsync
partitions, copying "newer" files back and forth
(probably after booting into

Knoppix).* That should do it.* I'll have to think about
it some more and decide on how to do this.



Thanks.



Kevin

--

users mailing list

users@lists.fedoraproject.org

To unsubscribe or change subscription options:

https://admin.fedoraproject.org/mailman/listinfo/users

Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines













ok, so what I ultimately did was boot into Knoppix, grab a program
called "meld", make it, and then "meld" the equivalent partitions
(after mounting them under /media).* This gave me a long diff'd list
of changes on the two filesystems and then I manually picked and
chose which files to move over to my "main" hard drive.* I really
wanted to use kdiff3 but it became a huge PITA trying to get it
compiled under Knoppix.* I then made sure to reset my UUID's on the
secondary drive (tune2fs -U random /dev/sdb[#]) so when I rebooted I
was back on only one drive for all of my mount points.* Then, just
for the sake of doing it, I did an "rpm --rebuilddb" and a "yum
update".** I only now have one problem with nouveau but I'm hoping
the update fixed that.



Kevin



--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 

Thread Tools




All times are GMT. The time now is 03:46 AM.

VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org