LinHES Forums
http://forums.linhes.org/

It almost worked flawlessly 7.4 - 8.1.1
http://forums.linhes.org/viewtopic.php?f=22&t=23932
Page 1 of 1

Author:  mattbatt [ Sun Jan 19, 2014 7:33 am ]
Post subject:  It almost worked flawlessly 7.4 - 8.1.1

It almost worked Marty McFly!
I currently have 2 hard drives with 3 partitions each. the first has LinHES 7.4 OS, swap, and storage. The second has Ubuntu, swap and LinHES storage.
I installed 8.1 on a third hard drive that was already empty. It installed with little problems and everything was "just working" So i plugged my first two hard drives in ran
Code:
 add_storage.py --no_destruction
and it found my hard drives without complaint and mounted them. The only problem is that it only mounted the first partition of each drive which does not have any of my recordings on it.
I can figure out how to mount the remaining partitions however the new naming scheme has me a little confused. The drives show up as
Code:
[mythtv@gimli storage]$ ls
disk0  disk2                 WDCWD1600JB-00EVA0_WD-WMAEK2191306
disk1  ST3200826AS_4ND0SAAL  WDCWD8000AARS-00Y5B1_WD-WCAV59532307

In the past I just mounted the drives as Myth1 Myth2 etc where do I mount my media storage partitions?
Do I mount the 3rd (media storage) Partitions in place of the 1st (OS) partitions?
Do I mount it to the Media folder?

Secondly I tried to change some settings in Service Menu and it asked me for a password. What is the default password and how to I change it? It isn't my normal password.

Author:  mattbatt [ Sun Jan 19, 2014 8:21 am ]
Post subject:  Re: It almost worked flawlessly 7.4 - 8.1.1

I noticed an error on reboot
here is a version of it in the dmesg.log file
Code:
[   12.390266] DVB: registering adapter 0 frontend 0 (Samsung S5H1409 QAM/8VSB Frontend)...
[   13.332115] EXT4-fs (sdc1): re-mounted. Opts: acl
[   13.403027] XFS (sdc7): Mounting Filesystem
[   13.824527] XFS (sdc7): Ending clean mount
[   13.841015] EXT4-fs (sdc5): mounted filesystem with ordered data mode. Opts: acl
[   13.841818] EXT4-fs (sdc6): mounting ext3 file system using the ext4 subsystem
[   13.864154] EXT4-fs (sdc6): mounted filesystem with ordered data mode. Opts: acl
[   13.883411] REISERFS warning (device sda1): sh-2021 reiserfs_fill_super: can not find reiserfs on sda1
[   13.884004] XFS (sda1): bad magic number
[   13.884009] XFS (sda1): SB validate failed
[   13.887000] EXT4-fs (sda1): couldn't mount as ext3 due to feature incompatibilities
[   13.887571] EXT4-fs (sda1): couldn't mount as ext2 due to feature incompatibilities
[   13.910692] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
[   13.911542] REISERFS warning (device sdb1): sh-2021 reiserfs_fill_super: can not find reiserfs on sdb1
[   13.912127] XFS (sdb1): bad magic number
[   13.912131] XFS (sdb1): SB validate failed
[   13.913653] EXT4-fs (sdb1): couldn't mount as ext3 due to feature incompatibilities
[   13.914136] EXT4-fs (sdb1): couldn't mount as ext2 due to feature incompatibilities
[   13.922702] EXT4-fs (sdb1): mounted filesystem with ordered data mode. Opts: (null)
[   13.963645] Adding 1957884k swap on /dev/sdc2.  Priority:-1 extents:1 across:1957884k

Why is LinHES trying to mount my EXT4 partitions as EXT2 and EXT3 partitions. add_storage.py should be smarter than that!

Author:  mattbatt [ Sun Jan 19, 2014 1:31 pm ]
Post subject:  Re: It almost worked flawlessly 7.4 - 8.1.1

I found an answer, it's not the answer I was looking for http://forum.linhes.org/viewtopic.php?p=137402#p137402
jams wrote:
Sadly I think your out of luck for using add_storage.py.
The add_storage script assumes it's working with the first partition and ignores everything else.

I suggest adding the disk without using the add_storage.py script. Then if you want the extra things that add_storage gives like auto file sharing create the conf files in /etc/storage.d.
The name of the files doesn't matter, just that it ends in .conf. Take a look at the other files in the dir it should be easy to follow along.



Thanks Jams you answered my question about why my old R7 drive was only showing up as the root partition and not the data partition. Since the standard R7 install was 3 partitions it seems odd that add_storage is being recommended in every upgrade manual without the caveat that it won't add the standard "/myth" partition, maybe you could have a word with the big guy and suggest that it's mentioned in the upgrade guide.

Also since the new partition layout is so different with R8 is there anywhere specific I should or shouldn't mount my partitions to?

Author:  mattbatt [ Mon Jan 20, 2014 7:53 am ]
Post subject:  Re: It almost worked flawlessly 7.4 - 8.1.1

Well I mounted the partitions near and similarly to the others but that new mounting location and scheme is no fun to type.

My big problem now is that I can't get into the system settings menu. It asks for a password that I don't have. I tried my normal password and it isn't working.

Author:  tscholl [ Mon Jan 20, 2014 8:53 am ]
Post subject:  Re: It almost worked flawlessly 7.4 - 8.1.1

Did you try just hitting enter?

Author:  mattbatt [ Mon Jan 20, 2014 9:38 am ]
Post subject:  Re: It almost worked flawlessly 7.4 - 8.1.1

Yes and it didn't work. I dug into the XML files for the menu and found out it is the pin number you can setup for extra frontends. I tried disabling it with a # in the mainmenu.XML file but that didn't work. I've been configuring and forgot to post my findings.
::::Correction::::
the pin number is set under Service Menu>MythTV settings>Setup>General>3rd page "Settings Access" blank equals disabled. So i must have set this some time in the past but it didn't work on my old install or something not sure. Thankfully I guessed the right pin code.

Author:  jams [ Tue Jan 21, 2014 6:08 pm ]
Post subject:  Re: It almost worked flawlessly 7.4 - 8.1.1

Your right that new scheme for mount points is no fun to type. Thats where the symlink for /data/storage/disk# comes into play

Author:  mattbatt [ Tue Jan 21, 2014 8:14 pm ]
Post subject:  Re: It almost worked flawlessly 7.4 - 8.1.1

ah so I should make the sym links and point everything to them huh?

Author:  jams [ Wed Jan 22, 2014 8:22 am ]
Post subject:  Re: It almost worked flawlessly 7.4 - 8.1.1

if you used add storage the symlink should already be present

Author:  mattbatt [ Wed Jan 22, 2014 9:38 pm ]
Post subject:  Re: It almost worked flawlessly 7.4 - 8.1.1

Add storage didn't add the third partition on each drive, the normal /myth drive on previous installs. I had to manually add the partitions using webmin I could add the sym links and change the storage groups but now it seems like more of a hassle to go back and fix them.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/