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

Can I save movies I had on old drive and LVM?
http://forum.linhes.org/viewtopic.php?f=6&t=16908
Page 1 of 1

Author:  rkhanso [ Mon Oct 08, 2007 7:53 pm ]
Post subject:  Can I save movies I had on old drive and LVM?

I had a previous KnoppMyth install and had LVM set up on 3 drives and over 100 movies. I had to upgrade to the latest version and ended up just doing a new auto install on the primary drive, leaving the other 2 drives untouched.

Is is possible to somehow import the movies into my new KnoppMyth installation? I went from version R5A16 to R5F27, so the movies have the .nuv extension. I haven't set up LVM on the new system yet because I think doing it destroys all data on the other drives. I'm trying to save those movies.

Is this possible?

Author:  manicmike [ Mon Oct 08, 2007 9:41 pm ]
Post subject:  Re: Can I save movies I had on old drive and LVM?

rkhanso wrote:
I had to upgrade to the latest version and ended up just doing a new auto install on the primary drive, leaving the other 2 drives untouched.


I'm no expert in LVM, but someone I used to work with had one of his four LVM drives fail, and until he got an identical drive, he stood no chance of getting any of the data back.

We were both Unix admins, and he'd done a lot of research.

Good luck

Mike

Author:  mudguts [ Tue Oct 09, 2007 2:23 am ]
Post subject: 

Mike

Your comments suggest that your friend lost some of their data. Did they have recordings that were only part recovered as a result?

rkhanso

1) Did you format all of hda?
2) Are the 2 other drives recognised by the system? Can you mount them and see any data?

Author:  rkhanso [ Tue Oct 09, 2007 6:28 am ]
Post subject: 

I haven't done anything with the other 2 hard drives yet.

Code:
roger@mythtv:~$ ls /dev/hd*
/dev/hda   /dev/hda2  /dev/hdb   /dev/hdc
/dev/hda1  /dev/hda3  /dev/hdb1  /dev/hdc1
roger@mythtv:~$


So, it seems that Linux sees them. Wouldn't they be the hdbx and hdcx?

A df shows this:
Code:
roger@mythtv:~$ df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/hda1              4828768   1879564   2704616  42% /
/dev/hda3            150996504    193960 150802544   1% /myth
tmpfs                   126764         4    126760   1% /dev/shm
roger@mythtv:~$

I've tried different commands to try to mount the drives, but can't get it figured out - so I don't know if I can mount them and see any data on them.

Author:  manicmike [ Tue Oct 09, 2007 7:19 am ]
Post subject: 

mudguts wrote:
Mike

Your comments suggest that your friend lost some of their data. Did they have recordings that were only part recovered as a result?


From what I can recall, he lost all of it.

This put me off LVM: I'm quite fond of RAID though.

Mike

Author:  thornsoft [ Tue Oct 09, 2007 7:38 am ]
Post subject: 

rkhanso, I think you would have been better off if you hadn't re-formatted that first drive... Once an LVM has been compromised (one of the disks has been replaced or wiped), I think you're hosed. I looked around after one of my drives failed, hoping to recover recordings that happened to be on the other one. I didn't find anything useful.

I'm hoping that Storage Groups make it into KnoppMyth, and 1TB drives fall below $150, before my LVM craps out again.

Author:  kmkittre [ Tue Oct 09, 2007 8:12 am ]
Post subject: 

Yeah, LVM is nice in theory, and it makes it really easy to just "make a big hard drive" for /myth. However, I think that if I was to do it again, I would just buy big hard drives and divvy up my content in /myth amongst the drives. Maybe setup 2 HDs in LVM for recordings, and 2 HDs in LVM for videos/DVDs, etc. I'd still have LVM, but a bit less risky with 2 instead of just 1...

That gives me a a thought. Has anyone tried using a drobo connected via USB for their /myth partition?

Author:  thornsoft [ Tue Oct 09, 2007 10:39 am ]
Post subject: 

kmkittre wrote:
I would just buy big hard drives and divvy up my content in /myth amongst the drives. Maybe setup 2 HDs in LVM for recordings, and 2 HDs in LVM for videos/DVDs, etc.


With the upcoming "storage groups" feature, you'll be able to simply add a big new HD, create the filesystem, and tell Myth that it's now available. No need for LVMs anymore. It should make it easy to add drives, as well as retire old/small ones.

Author:  kmkittre [ Tue Oct 09, 2007 4:54 pm ]
Post subject: 

Good information, Thornsoft, thanks. Can you point me to any documentation on how this is going to work?

Author:  Girkers [ Tue Oct 09, 2007 5:18 pm ]
Post subject: 

I just a quick google on recover lvm and there is a multitude of information available. Whilst I didn't see anything that I could suggest in the 2 minutes I looked, you may find something of use.

Author:  slowtolearn [ Tue Oct 09, 2007 5:25 pm ]
Post subject: 

rkhanso, you may want to look through the "fun" Cecil recently had with his LVM: http://mysettopbox.tv/phpBB2/viewtopic.php?t=16797

Author:  rkhanso [ Tue Oct 09, 2007 8:22 pm ]
Post subject: 

Cecil's info appears to be way over my head. I've given in to the idea that I'm going to have to start my video collection from scratch - thus starting over on LVM.

If I follow the directions HERE, it looks like I can follow the directions at the top of the page and use the PATA section? It appears that it would be the same even though I have IDE hard drives? I currently have nothing recorded and saved on the hard drive.

Will it matter that the drives I'm adding to the LVM have already been a part of a different LVM? - I don't think it'll matter since I'm basically reformatting them anyway, right?

Or do I need to follow the manual instructions?

Code:
root@mythtv:/home/roger# ls /dev/hd*
/dev/hda  /dev/hda1  /dev/hda2  /dev/hda3  /dev/hdb  /dev/hdb1  /dev/hdc  /dev/hdc1
root@mythtv:/home/roger#
Code:
root@mythtv:/home/roger# ls -la /dev/hd*
brw-rw---- 1 root disk  3,  0 Oct  8 22:15 /dev/hda
brw-rw---- 1 root disk  3,  1 Oct  8 22:15 /dev/hda1
brw-rw---- 1 root disk  3,  2 Oct  8 22:15 /dev/hda2
brw-rw---- 1 root disk  3,  3 Oct  8 22:15 /dev/hda3
brw-rw---- 1 root disk  3, 64 Oct  8 22:15 /dev/hdb
brw-rw---- 1 root disk  3, 65 Oct  8 22:15 /dev/hdb1
brw-rw---- 1 root disk 22,  0 Oct  8 22:15 /dev/hdc
brw-rw---- 1 root disk 22,  1 Oct  8 22:15 /dev/hdc1
root@mythtv:/home/roger#
Code:
root@mythtv:/home/roger# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/hda1              4828768   1879816   2704364  42% /
/dev/hda3            150996504   1444736 149551768   1% /myth
tmpfs                   126764         4    126760   1% /dev/shm
root@mythtv:/home/roger#

Author:  kmkittre [ Wed Oct 10, 2007 11:04 am ]
Post subject: 

IDE is PATA.

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