LinHES Forums http://forum.linhes.org/ |
|
Forgot whether I did Auto or Manual install http://forum.linhes.org/viewtopic.php?f=6&t=16291 |
Page 1 of 1 |
Author: | cmshawn2 [ Sat Sep 01, 2007 12:21 am ] |
Post subject: | Forgot whether I did Auto or Manual install |
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.) |
Author: | cecil [ Sat Sep 01, 2007 12:34 am ] |
Post subject: | |
There is no way to tell, however it doesn't matter what type of install you did. |
Author: | tjc [ Sat Sep 01, 2007 11:22 am ] |
Post subject: | |
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:
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. |
Author: | cmshawn2 [ Mon Sep 03, 2007 1:43 am ] |
Post subject: | |
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. |
Author: | tjc [ Mon Sep 03, 2007 7:37 am ] |
Post subject: | |
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. |
Author: | bruce_s01 [ Mon Sep 03, 2007 3:19 pm ] |
Post subject: | |
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. |
Author: | jmckeown2 [ Tue Sep 04, 2007 3:18 pm ] |
Post subject: | |
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. |
Author: | marc.aronson [ Fri Sep 07, 2007 10:55 pm ] |
Post subject: | |
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 |
Author: | tjc [ Sat Sep 08, 2007 8:04 am ] |
Post subject: | |
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. |
Author: | marc.aronson [ Sat Sep 08, 2007 8:52 am ] |
Post subject: | |
TJC, thanks. Marc |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |