View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 10 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Sat Sep 01, 2007 12:21 am 
Offline
Joined: Mon Nov 27, 2006 12:43 am
Posts: 12
I'm ramping up to upgrade to R5F1 and I can't remember whether I did an Auto or Manual install for R5D1. Is there any way to tell? (I did search the forums, but I couldn't find anything.)


Top
 Profile  
 
 Post subject:
PostPosted: Sat Sep 01, 2007 12:34 am 
Offline
Site Admin
Joined: Fri Sep 19, 2003 6:37 pm
Posts: 2659
Location: Whittier, Ca
There is no way to tell, however it doesn't matter what type of install you did.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Sep 01, 2007 11:22 am 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
What does your /etc/fstab say? If it's vanilla then it doesn't matter. The R5F1 Hints do mention this:
Quote:
The important distinction between auto and manual install here has to do almost entirely with your disk layout, and in particular if your root partition and swap are in the "expected" locations.

Run this command:
Code:
grep '/dev/[hs]da' /etc/fstab

If the output looks like this (order of the lines may differ!):
Code:
/dev/hda1  /  ext3 defaults,errors=remount-ro  0  1
/dev/hda2 none swap defaults 0 0
/dev/hda3  /myth  auto  defaults,auto  0  2

or like this:
Code:
/dev/sda1  /  ext3 defaults,errors=remount-ro  0  1
/dev/sda2 none swap defaults 0 0
/dev/sda3  /myth  auto  defaults,auto  0  2

Then you should be OK. The key things to look for are:
    1) The base device is "/dev/hda" or "/dev/sda".
    2) The partition numbers line up with the mount points as shown.
    3) Having standard placement of / and swap are vital, but /myth doesn't matter as much. My output shows:
    Code:
    root@black2:/myth/rrd/log# grep '/dev/[hs]da' /etc/fstab
    /dev/hda1  /  ext3 defaults,errors=remount-ro  0  1
    /dev/hda2 none swap defaults 0 0
    root@black2:/myth/rrd/log# grep '/myth' /etc/fstab
    /dev/vg/myth  /myth  auto  defaults,auto  0  2

    But I'm still able to use Auto Upgrade as described in the hints.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 03, 2007 1:43 am 
Offline
Joined: Mon Nov 27, 2006 12:43 am
Posts: 12
Thanks, sounds like I should be OK, then. The only change I made was to put /myth/tv on its own drive:

Code:
/dev/hda1       /               ext3    defaults,errors=remount-ro  0 1
/dev/hda2 none swap defaults 0 0
/dev/hda3       /myth           ext3    defaults,auto   0 2
/dev/hdc1       /myth/tv        xfs     noatime         0 2
/dev/hdb1       /backup         xfs     noatime         0 2


Cecil, thanks for the info. I asked because tjc's Hints document states that it does.

Tjc, I did see that line in the hints, but it didn't seem concrete enough to put my mind at ease, as this is my first attempt at upgrading a KM install.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 03, 2007 7:37 am 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
Which is why the hints now point to this thread. ;-)

Please note that you should follow the manual intervention steps under Phase 2a and make sure that your other partitions are listed properly in /etc/fstab and mounted where they should be.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 03, 2007 3:19 pm 
Offline
Joined: Tue Aug 08, 2006 7:08 pm
Posts: 561
Location: UK
cmshawn2 wrote:
Thanks, sounds like I should be OK, then. The only change I made was to put /myth/tv on its own drive:


Does the capacity display within Myth show the correct size and time available?

Bruce S.

_________________
Updated 2019/10/26: AthlonII X2 265 Gigabyte GA-970A-DS3P
16Gb PC 1866 DDR3, 500GB+2TB+4TB SATA HDD,
SATA DVD-RW Asus DRW-24D5MT , NVIDIA GeForce GT1080
Hauppauage Nova-T 500, Nova-T LinHes R8.6.1


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 04, 2007 3:18 pm 
Offline
Joined: Sat Sep 02, 2006 9:17 am
Posts: 359
If you mean in the status page, Yes it shows the correct size for me. And I also have /myth/tv mounted from another drive, in my case /dev/sda1.

As I recall from my first myth box install on FC4, "/myth/tv" is a KM thing, as I recall my old box had /recordings or maybe /var/recordings. the point is the myth software checks the size of the actual recordings directory.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 07, 2007 10:55 pm 
Offline
Joined: Tue Jan 18, 2005 2:07 am
Posts: 1532
Location: California
TJC, while this is my 5th upgrade, I've never used autoupgrade before on my production disc. Before I go for it, I'd appreciate you're checking to see if I'm missing anything; my impression is that it should be OK. My disk layout is:
Code:
root@mythhd:~# grep '/dev/[hs]da' /etc/fstab | sort
/dev/hda1  /  ext3 defaults,errors=remount-ro  0  1
/dev/hda2 none swap defaults 0 0
/dev/hda3  /share  xfs  defaults,auto  0  2
/dev/sda1  /myth  xfs  defaults,auto  0  2


So my /myth partition is on a separate, dedicated SATA driver and /dev/hda3 contains a bunch of stuff I simply don't want the install to touch.

Thanks for your help!

Marc


Top
 Profile  
 
 Post subject:
PostPosted: Sat Sep 08, 2007 8:04 am 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
Auto upgrade should _only_ write to /dev/hda1 (and swap) in phase 1. There is some magic that tries to read your old /etc/fstab, to locate /myth but if it doesn't work you are going to have to intervene to fix up your /etc/fstab and mount those partitions where you want.

I do this all the time. On my drives hda3 and hdb1 make up the LVM. The installer grumps at me about not finding /dev/vg/myth in phase 1 but gets the job done. (This actually tend to indicate that the fstab magic is functioning, otherwise it wouldn't know about that virtual device.) After it reboots for phase 2 I flip to an alternate console and recreate and mount the lvm volume, then proceed as normal. This is a very well trodden path.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Sep 08, 2007 8:52 am 
Offline
Joined: Tue Jan 18, 2005 2:07 am
Posts: 1532
Location: California
TJC, thanks.

Marc


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 11 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu