[mythtv-users] XFS and Mythtv trouble

Dale Pontius DEPontius at edgehp.net
Wed Apr 28 17:28:38 UTC 2010


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


More information about the mythtv-users mailing list