Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Users

XFS and Mythtv trouble

 

 

MythTV users RSS feed   Index | Next | Previous | View Threaded


tom_a_sparks at yahoo

Apr 23, 2010, 10:20 PM

Post #1 of 10 (1118 views)
Permalink
XFS and Mythtv trouble

I have a hard drive formated to XFS

50 % of the drive is being use with no files on drive
can't reformat drive (did not note error), can't check drive (still mounted even after use umount -lf /dev/sda1)

when the hard drive hit 10Gb and under: mythtv crash repeatly (yet to check log)
so no transcoding and no recording takes place
witch makes the problem worser

tom_a_sparks



_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


belcampo at zonnet

Apr 24, 2010, 1:37 AM

Post #2 of 10 (1103 views)
Permalink
Re: XFS and Mythtv trouble [In reply to]

Tom Sparks wrote:
> I have a hard drive formated to XFS
>
> 50 % of the drive is being use with no files on drive
> can't reformat drive (did not note error), can't check drive (still mounted even after use umount -lf /dev/sda1)
Boot with a rescue-disk, mount /dev/sda1, umount /dev/sda1,xfs_repair
/dev/sda1 should repair your drive, at least as far as I ever had to do
it once or twice in the last 5 years.
>
> when the hard drive hit 10Gb and under: mythtv crash repeatly (yet to check log)
> so no transcoding and no recording takes place
> witch makes the problem worser
>
> tom_a_sparks
>
>
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users [at] mythtv
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


tom_a_sparks at yahoo

Apr 24, 2010, 5:41 AM

Post #3 of 10 (1084 views)
Permalink
Re: XFS and Mythtv trouble [In reply to]

--- On Sat, 24/4/10, belcampo <belcampo [at] zonnet> wrote:

> From: belcampo <belcampo [at] zonnet>
> Subject: Re: [mythtv-users] XFS and Mythtv trouble
> To: "Discussion about mythtv" <mythtv-users [at] mythtv>
> Received: Saturday, 24 April, 2010, 6:37 PM
> Tom Sparks wrote:
> > I have a hard drive formated to XFS
> >
> > 50 % of the drive is being use with no files on drive
> > can't reformat drive (did not note error), can't check
> drive (still mounted even after use umount -lf /dev/sda1)
> Boot with a rescue-disk, mount /dev/sda1, umount
> /dev/sda1,xfs_repair /dev/sda1 should repair your drive, at
> least as far as I ever had to do it once or twice in the
> last 5 years.

that is not possible as I am 10 hours away from the mythtv setup
I have VNC/mythweb access only

tom




_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


belcampo at zonnet

Apr 24, 2010, 6:29 AM

Post #4 of 10 (1078 views)
Permalink
Re: XFS and Mythtv trouble [In reply to]

Tom Sparks wrote:
> --- On Sat, 24/4/10, belcampo <belcampo [at] zonnet> wrote:
>
>> From: belcampo <belcampo [at] zonnet>
>> Subject: Re: [mythtv-users] XFS and Mythtv trouble
>> To: "Discussion about mythtv" <mythtv-users [at] mythtv>
>> Received: Saturday, 24 April, 2010, 6:37 PM
>> Tom Sparks wrote:
>>> I have a hard drive formated to XFS
>>>
>>> 50 % of the drive is being use with no files on drive
>>> can't reformat drive (did not note error), can't check
>> drive (still mounted even after use umount -lf /dev/sda1)
>> Boot with a rescue-disk, mount /dev/sda1, umount
>> /dev/sda1,xfs_repair /dev/sda1 should repair your drive, at
>> least as far as I ever had to do it once or twice in the
>> last 5 years.
>
> that is not possible as I am 10 hours away from the mythtv setup
> I have VNC/mythweb access only
AFAIK, repairing/rebuilding without unmounting is not possible.
>
> tom
>
>
>
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users [at] mythtv
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


david.whyte at gmail

Apr 24, 2010, 7:10 AM

Post #5 of 10 (1071 views)
Permalink
Re: XFS and Mythtv trouble [In reply to]

If this disk isnt your boot partition, comment it out in /etc/fstab
and reboot your PC (I use 'shutdown -r now') and then you can do what
you need to that partition. Then you are free, to uncomment it and
reboot again once fixed.

HTH's
Whytey

On Sat, Apr 24, 2010 at 11:29 PM, belcampo <belcampo [at] zonnet> wrote:
> Tom Sparks wrote:
>>
>> --- On Sat, 24/4/10, belcampo <belcampo [at] zonnet> wrote:
>>
>>> From: belcampo <belcampo [at] zonnet>
>>> Subject: Re: [mythtv-users] XFS and Mythtv trouble
>>> To: "Discussion about mythtv" <mythtv-users [at] mythtv>
>>> Received: Saturday, 24 April, 2010, 6:37 PM
>>> Tom Sparks wrote:
>>>>
>>>> I have a hard drive formated to XFS
>>>>
>>>> 50 % of the drive is being use with no files on drive
>>>> can't reformat drive (did not note error), can't check
>>>
>>> drive (still mounted even after use umount -lf /dev/sda1)
>>> Boot with a rescue-disk, mount /dev/sda1, umount
>>> /dev/sda1,xfs_repair /dev/sda1 should repair your drive, at
>>> least as far as I ever had to do it once or twice in the
>>> last 5 years.
>>
>> that is not possible as I am 10 hours away from the mythtv setup
>> I have VNC/mythweb access only
>
> AFAIK, repairing/rebuilding without unmounting is not possible.
>>
>> tom
>>
>>
>>
>>      _______________________________________________
>> mythtv-users mailing list
>> mythtv-users [at] mythtv
>> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users [at] mythtv
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


tom_a_sparks at yahoo

Apr 24, 2010, 9:25 PM

Post #6 of 10 (1051 views)
Permalink
Re: XFS and Mythtv trouble [In reply to]

--- On Sun, 25/4/10, David Whyte <david.whyte [at] gmail> wrote:

> From: David Whyte <david.whyte [at] gmail>
> Subject: Re: [mythtv-users] XFS and Mythtv trouble
> To: "Discussion about mythtv" <mythtv-users [at] mythtv>
> Received: Sunday, 25 April, 2010, 12:10 AM
> If this disk isnt your boot
> partition, comment it out in /etc/fstab
> and reboot your PC (I use 'shutdown -r now') and then you
> can do what
> you need to that partition.  Then you are free, to
> uncomment it and
> reboot again once fixed.
>
next time i'll remember to do that

I followed <http://www.mythtv.org/wiki/XFS_Filesystem#Keeping_XFS_Healthy_.28Disk_Checking.29>
and soon as I type 'telinit 1',
I was disconnected from remote access via vnc :(
looks like the 10 hour trip is needed :(

tom



_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


oliver.greg at gmail

Apr 24, 2010, 9:44 PM

Post #7 of 10 (1055 views)
Permalink
Re: XFS and Mythtv trouble [In reply to]

On Sat, Apr 24, 2010 at 11:25 PM, Tom Sparks <tom_a_sparks [at] yahoo> wrote:
>
> --- On Sun, 25/4/10, David Whyte <david.whyte [at] gmail> wrote:
>
>> From: David Whyte <david.whyte [at] gmail>
>> Subject: Re: [mythtv-users] XFS and Mythtv trouble
>> To: "Discussion about mythtv" <mythtv-users [at] mythtv>
>> Received: Sunday, 25 April, 2010, 12:10 AM
>> If this disk isnt your boot
>> partition, comment it out in /etc/fstab
>> and reboot your PC (I use 'shutdown -r now') and then you
>> can do what
>> you need to that partition.  Then you are free, to
>> uncomment it and
>> reboot again once fixed.
>>
> next time i'll remember to do that
>
> I followed <http://www.mythtv.org/wiki/XFS_Filesystem#Keeping_XFS_Healthy_.28Disk_Checking.29>
> and soon as I type 'telinit 1',
> I was disconnected from remote access via vnc :(
> looks like the 10 hour trip is needed :(

Linux is very easy to control over a serial port if there is a laptop
or another pc there to hook it to.. You could remote into and then
terminal into the linux box to fix it with a $2 cable... A lot easier
than a 10 hour drive :)
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


udovdh at xs4all

Apr 25, 2010, 12:15 AM

Post #8 of 10 (1053 views)
Permalink
Re: XFS and Mythtv trouble [In reply to]

On 2010-04-25 06:25, Tom Sparks wrote:
> I followed <http://www.mythtv.org/wiki/XFS_Filesystem#Keeping_XFS_Healthy_.28Disk_Checking.29>
> and soon as I type 'telinit 1',
> I was disconnected from remote access via vnc :(
> looks like the 10 hour trip is needed :(

`init 6` was the right one (reboot)
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


gnassas at mac

Apr 25, 2010, 9:25 AM

Post #9 of 10 (1011 views)
Permalink
Re: XFS and Mythtv trouble [In reply to]

On 2010-04-25, at 12:25 AM, Tom Sparks wrote:

> I followed <http://www.mythtv.org/wiki/XFS_Filesystem#Keeping_XFS_Healthy_.28Disk_Checking.29>
> and soon as I type 'telinit 1',
> I was disconnected from remote access via vnc :(
> looks like the 10 hour trip is needed :(


You don't really need to change the runlevel. Just stop any processes which might be using the xfs disk which is probably the myth backend and possibly frontend. There are likely scripts in /etc/init.d to stop things so you'd do something like "/etc/init.d/mythtv-backend stop".

Do "lsof | grep /the/xfs/mount/point" to check what processes have open files on that drive and shut down each of them.

Then you can do the unmount and repair & reboot to put things back as they were.

I suspect runlevel 1 assumes you're at the console so it's no surprise your remote session got turfed!

- George


DEPontius at edgehp

Apr 28, 2010, 10:28 AM

Post #10 of 10 (939 views)
Permalink
Re: XFS and Mythtv trouble [In reply to]

On 04/25/10 12:25, George Nassas wrote:
> On 2010-04-25, at 12:25 AM, Tom Sparks wrote:
>
>> I followed
>> <http://www.mythtv.org/wiki/XFS_Filesystem#Keeping_XFS_Healthy_.28Disk_Checking.29>
>> and soon as I type 'telinit 1',
>> I was disconnected from remote access via vnc :(
>> looks like the 10 hour trip is needed :(
>
> You don't really need to change the runlevel. Just stop any processes
> which might be using the xfs disk which is probably the myth backend and
> possibly frontend. There are likely scripts in /etc/init.d to stop
> things so you'd do something like "/etc/init.d/mythtv-backend stop".
>
> Do "lsof | grep /the/xfs/mount/point" to check what processes have open
> files on that drive and shut down each of them.
>
> Then you can do the unmount and repair & reboot to put things back as
> they were.
>
> I suspect runlevel 1 assumes you're at the console so it's no surprise
> your remote session got turfed!
>
I have to second this. For my MythMachine xfs is only used for video -
the rest is vanilla ext3. All I need to do is stop mythbackend and I
can "umount /media" and work on it. No need to reboot, and it can be
done remotely. (Then "mount /media" and restart mythbackend when done.)

Dale Pontius
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

MythTV users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.