View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 9 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Sun Apr 09, 2006 11:17 am 
Offline
Joined: Thu Feb 02, 2006 5:53 am
Posts: 26
Hi,

I moved 80gig from /myth/tv/old to /myth/video/old. The problem being that the new directory in video is empty! The space is still consumed in /myth/tv but not there! How can i remedy this situation? I looked into fsck but wasn't sure. Any help appreciated!

Here's my setup:

Code:
root@mythtv:~# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/hda1             4.6G  3.1G  1.3G  71% /
/dev/hda3             112G  108G  4.1G  97% /myth
/dev/vg/myth          112G  108G  4.1G  97% /myth


Code:
root@mythtv:/# dmesg | grep hd
hda: Maxtor 6E040L0, ATA DISK drive
hdc: WDC WD1200JB-00CRA1, ATA DISK drive
hdd: COMBO BCO4016IM, ATAPI CD/DVD-ROM drive


Code:
root@mythtv:/myth# du -h --max-depth=1
16K     ./lost+found
1.1M    ./avimanager
29M     ./backup
4.0K    ./cache
8.0K    ./gallery
2.1M    ./games
1.3M    ./image_cache
92M     ./music
15M     ./mythburn
3.4M    ./nuv2disc
4.0K    ./pretty
24K     ./stream
12K     ./tmp
90G     ./tv
19G     ./video
8.0K    ./tools
44M     ./torrents
108G    .


Top
 Profile  
 
 Post subject:
PostPosted: Sun Apr 09, 2006 12:52 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
What does the mount command show.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Apr 09, 2006 12:57 pm 
Offline
Joined: Thu Feb 02, 2006 5:53 am
Posts: 26
Code:
root@mythtv:/# mount
/dev/hda1 on / type ext3 (rw,errors=remount-ro)
none on /proc type proc (rw,nodiratime)
/dev/hda3 on /myth type ext3 (rw)
sysfs on /sys type sysfs (rw)
/dev/vg/myth on /myth type ext3 (rw)
usbfs on /proc/bus/usb type usbfs (rw)
automount(pid5640) on /mnt/auto type autofs (rw,fd=4,pgrp=5640,minproto=2,maxproto=4)


Top
 Profile  
 
 Post subject:
PostPosted: Sun Apr 09, 2006 1:08 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
Why have you got both /dev/hda3 amd /dev/vg/myth mounted on /myth? You need to fix your /etc/fstab


Top
 Profile  
 
 Post subject:
PostPosted: Sun Apr 09, 2006 1:21 pm 
Offline
Joined: Thu Feb 02, 2006 5:53 am
Posts: 26
This is the result of a clean R5B7 clean install and using the 'create lvm' script. I have removed the hda3 line from /etc/fstab and that part is sorted. The results of the commands are the same as above but withput hda3 now.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Apr 09, 2006 5:27 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
What arguments did you give the script? You're supposed to tell it which partitions you want included in the volume group. Based on what you said above you should have told it /dev/hda3 and /dev/hdc1 (assuming hdc is all one big partition).


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 10, 2006 7:59 am 
Offline
Joined: Wed Feb 18, 2004 10:45 am
Posts: 41
dave1216, your timing is perfect. I'm also in the midst of a Knoppmyth install complete with LVM and I'm having the same if not exact problem. Thank you for your post!


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 10, 2006 9:09 am 
Offline
Joined: Thu Feb 02, 2006 5:53 am
Posts: 26
I think i found a solution, make a new tv directory - copy the contents across and remove the old one. Very odd though!

Code:
mythtv@mythtv:~$ su
root@mythtv:/home/mythtv# cd /myth
# /etc/init.d/mythtv-backend stop
# mv tv tvold
# mkdir tv
# chmod 777 tv
# mv tvold/* /tv
# /etc/init.d/mythtv-backend start
# rm -rf /tvold
# myth.rebuilddatabase.pl --dbhost=localhost


The last line is to fill the database with any orphaned recordings that happen to exist.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 10, 2006 6:34 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
dave1216 wrote:
# chmod 777 tv

Please don't do that. :cry: It's an evil, evil meme, and the ultimate in ham handed sloppyness. It's so easy to learn to do the right thing that there's really no excuse for perpetrating that kind of horror. The correct way to do the ownership and permissions settings for that directory are:
Code:
chown mythtv:mythtv /myth/tv
chmod u=rwx,go=rx /myth/tv


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu