Author |
Message |
jac1d
|
Posted: Thu Apr 22, 2004 9:03 pm |
|
Joined: Fri Mar 26, 2004 9:00 am
Posts: 239
|
Hi All,
I have a Ximeta USB2 Netdisk hard drive. Its an external unit and I have USB to working now so I get properly speeds from it. The problem I have is that I can't seem to mount it with the ownership and permissions that I want. It won't let me change the owner or perms on any of the files on it. I can create new files but I can't adjust any of the previous files.
Can anyone steer me on how to control ownership and permissions of removable drives on the KnoppMyth distro?
Thanks.
-Jeff
|
|
Top |
|
 |
jac1d
|
Posted: Thu Apr 22, 2004 10:15 pm |
|
Joined: Fri Mar 26, 2004 9:00 am
Posts: 239
|
I got it going but it was necessary to use the -uid=mythtv flag in /etc/fstab.
Now I have another problem.
I intend to use it for my recordings, so I'm copying over my recordings directory and ran in to this:
cp: overwrite `./1002_20040418210000_20040418220000.nuv'? y
File size limit exceeded
mythtv@mythtv:/myth/usb/mythrecordings $ ls -l
total 2097152
-rwxr--r-- 1 mythtv root 2147483647 Apr 23 00:14 1002_20040418210000_20040418220000.nuv
mythtv@mythtv:/myth/usb/mythrecordings $
What is the File Size Limit and how can I up it?
Thanks,
-jeff
|
|
Top |
|
 |
Xsecrets
|
Posted: Thu Apr 22, 2004 10:37 pm |
|
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location:
Nashville, TN
|
how is the drive formated? If it is formated fat32 I think it has a 2Gb max file size limit. to avoid that you could format the drive as ext3 or some other linux filesystem, however windows won't be able to read it.
|
|
Top |
|
 |
jac1d
|
Posted: Fri Apr 23, 2004 7:57 am |
|
Joined: Fri Mar 26, 2004 9:00 am
Posts: 239
|
Thanks X,
I've been donig more research, you are correct, the 2GB limit is a FAT32 issue. I am going to put the drive on my XP Pro box tonight and try converting it to NTFS which has no such restriction and can be mounted under linux.
I'll report back.
And probably go to R4V3 this weekend when it appears to.
-jeff
|
|
Top |
|
 |
davem
|
Posted: Fri Apr 23, 2004 8:03 am |
|
Joined: Mon Nov 17, 2003 8:59 am
Posts: 206
Location:
Michigan
|
NTFS can be mounted but I think writing to it is still in early stages. Might not be possible with the kernel in knoppmyth.
|
|
Top |
|
 |
Xsecrets
|
Posted: Fri Apr 23, 2004 8:21 am |
|
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location:
Nashville, TN
|
make that ntfs write support is not in the kernel included in knoppmyth so ntfs will not work for what you want. Sorry I did not say that earlier, but I didn't want to give you the idea. Once agian you cannot write to ntfs file systems from linux by default. Yes the 2.6 kernel has "write support" but it's not what you would think. you can only overwrite files or something wierd like that, the only other way to have proper write support is to use a special kernel wrapper module that actually uses the windows drivers, but that is not included by default either. your best bet is probably to go ext3 and use on of the various utilities available to read it under windows.
|
|
Top |
|
 |
cesman
|
Posted: Fri Apr 23, 2004 9:03 am |
|
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location:
Fontana, Ca
|
R4V3 isn't going to solve your problem. The same NTFS support is in there as in previous support. You can try "Captive NTFS" support. You'll have to Google of it as I don't know much about it...
_________________ cesman
When the source is open, the possibilities are endless!
|
|
Top |
|
 |
jac1d
|
Posted: Sat Apr 24, 2004 11:11 am |
|
Joined: Fri Mar 26, 2004 9:00 am
Posts: 239
|
*sigh*
The fun never stops. I converted the file system before I had the benefit of hearing that the NTFS support in the kernel is read only. The conversion went fine, using the "convert" command line tool under XP.
I research the "captive-ntfs" project, as you mentioned, and I downloaded and installed it (went very smoothly, even a source build) and had the drive mounted in no time. I then went to write to it and discovered that it has very very slow performance. This is a known issue with it right now, and they hope to improve it. But at the moment:
hdparm -t /dev/sda1
Gives me about 23MB/s
I was seeing about 300MB/s under FAT32 on the USB2 interface
So now I've got the drive in NTFS format and no easy way to use it.
The box has a wifi connection to the net so I'm thinking I might turn the ethernet back on and drop a linksys router in there to use its hub to create a switched 100Mbps net between it and the NetDisk, which also supports 100Mbps and windows file sharing.
Then I'll try and mount the drive under Samba and see if I can get acceptable throughput. Its a lot of extra hardware and work but it looks like I'm dead ended until NTFS write support reaches speeds appropriate for video.
Any other thoughts?
-Jeff
|
|
Top |
|
 |
Xsecrets
|
Posted: Sat Apr 24, 2004 12:15 pm |
|
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location:
Nashville, TN
|
well my thought is why does it have to be a microsoft formated drive?
|
|
Top |
|
 |
davem
|
Posted: Sat Apr 24, 2004 2:15 pm |
|
Joined: Mon Nov 17, 2003 8:59 am
Posts: 206
Location:
Michigan
|
Xsecrets wrote: your best bet is probably to go ext3 and use on of the various utilities available to read it under windows.
|
|
Top |
|
 |
jac1d
|
Posted: Sat Apr 24, 2004 2:36 pm |
|
Joined: Fri Mar 26, 2004 9:00 am
Posts: 239
|
From a usage perspective its ability to be dropped in and connected via USB2 to any PC I bump in to is relatively high. If I need to take it to work or if I go on the road I can toss it in my bag and take my entertainment with me, so not needing to load linux file system reading tools on windows machines is a benefit...
-Jeff
|
|
Top |
|
 |
jac1d
|
Posted: Mon Apr 26, 2004 1:51 pm |
|
Joined: Fri Mar 26, 2004 9:00 am
Posts: 239
|
An update on my USB2 Ximeta Netdisk and KnoppMyth.
I decided to use Partition magic to spllit it in to two roughly equal partitions. I intend to convert the first back to FAT32 from NTFS (you may remember i converted it to NTFS in hopes of avoiding the large file problem). I then formated the second partition was ext3, which I will attempt to mount when I get home tonight.
The goal being to have maximum flexibility with the windows partition when I travel with the drive and to move smaller files. And to use the second parition as my video partition under Myth.
I am also trying to get my hands on ext2/ext3 read/write file system support for windows so I can keep that installer on my windows partition and add it to any box I need to get at the linux partition on.
Is anyone out there currently using something to allow read/write to ext3 from within XP?
Thanks.
-Jeff
|
|
Top |
|
 |
jac1d
|
Posted: Mon Apr 26, 2004 4:04 pm |
|
Joined: Fri Mar 26, 2004 9:00 am
Posts: 239
|
Hmm...
I have the ext3 FS on a partition and I can mount it, but I'd since reinstalled R4V2 and I'm back to 1.1 USB speeds.
I ran modconf and added the ehci drive and it appears in my lsmod:
root@mythtv:~# lsmod | grep ehci
ehci-hcd 15368 0 (unused)
usbcore 57376 0 [usb-storage ehci-hcd usb-uhci]
root@mythtv:~#
When I first connect the device in dmesg I get:
usb.c: USB disconnect on device 00:1d.7-1 address 3
hub.c: new USB device 00:1d.7-1, assigned address 4
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 4
I can then run
mount /dev/sda5 /mnt/usb
And see myt file system properly
but
hdparm -t /dev/sda5 /dev/sda5:
Timing buffered disk reads: 64 MB in 2.66 seconds = 24.06 MB/sec
Doh, it looks like I'm only seeing the drive as a 1.1 device again. I should be seeing about 10x that transfer speed.
Last time (last install) I added the ehci driver it seemed to kick things in to USB2 mode, but now it doesn't seem to be taking now. Did I miss any steps?
Assitance greatly appreciated.
-Jeff
|
|
Top |
|
 |
jac1d
|
Posted: Tue Apr 27, 2004 4:57 am |
|
Joined: Fri Mar 26, 2004 9:00 am
Posts: 239
|
I think I must have been on crack when I thought I saw 300Mb/s transfer rates from hdparm -t.
As some of you may have noticed, 25Mb/s appears to be appropriate for a USB2 drive. I can copy a 2.2Gig file on to it in about 5 minutes, and move a 700M file off of it in under 1 minute. Yes I'd say it is operating properly. I don't know where I got that other number.
-Jeff
|
|
Top |
|
 |
flashmeister
|
Posted: Tue Oct 17, 2006 3:27 pm |
|
Joined: Sun Mar 05, 2006 10:52 pm
Posts: 9
|
Hi,
I don't know if you noticed but Ximeta has quite a few Linux drivers on their website.
I am trying to use my Ximeta NetDisk connected through the network (NDAS), but I haven't been able to mount the drive. Not sure if this is an issue of just not issuing the right mount command, or whether I goofed up when I installed the driver (I am not very Linux literate!).
Has anyone successfully connected a Ximeta drive through the network?
If so, could you please shed some light on how you accomplished this?
(any pitfalls along the way?)
I formatted my Ximeta in FAT-32, so that I have the best compatibility across operating systems...
Thanks,
Greg
|
|
Top |
|
 |