Was the problem the size? Limited to 1TB? If yes, already reported, if not,
please clarify.
> and am in the process of copying my files back. I made a
> 0.537GB partition as the first partiton of each drive as type "swap" I
> hope this is correct,
That's OK.
> but I cannot actually "see" these partitons,
Where do you expect to see them?
In the Status Page, System section, Swap says how much swap you have and how
much is being used.
> as
> I could in my previous setup. I notice that the staus page reports a
> md0 with 2.7TB and only 2.5 available - am I losing 200GB someplace?
Where? On the Disk, Raid, or Mounted Filesystem section?
Anyway, the filesystem itself "stoles" some 5% of the partition capacity for
its own purpose -- file name, attributes, where on the disk is lays-on,
directory structures, etc.
> I figure I can risk raid-0 because I have a copy of this data now; it
> doesn't provide me with the performance boost I had expected,
Have you read the top-posted forum Topic
Filesystem and disk layout performance on 0.1B4?
> but I
> want to be able to stream media to my PS3, and one laptop
> simultaneously.
>
> Everything is working now, I have 3 users setup, 2 are read-only and
> everything seems fine. I had to clear settings a couple of times: once
> because changes in samba weren't sticking, and the second time because
> I was told to save my settings, even though they had been saved.
Somehow some files have been changed, you might be using DHCP, which changes a
couple of files when the lease is renewed, and when one of the files timestamp
changes the warning appears.
> I can confirm that reboots did not restore me to stock d-link, and I
> did setup samba the same way all 3 times (only the last time worked).
> No idea why this happened in such a manner.
You are not the first one to complain. Hope it's fixed now.
> Thank you for all your help - my problem seems to be resolved for now.
> Will stick around the board, help if I can.
Helping others would be a great help :-)
> P.S. MediaTomb from the alt-f packages does not install correctly,
> hence my issues starting it. I can can email you a screenshot, but I
> am getting a "cannot create directory /var/lib/mediatomb : permission
> denied"
Anybody else suffered from this problem?
> Not a huge issue, as I am now using minidlna and am quite happy with
> it. Do you know if any of these media servers support WMV?
No.
Thanks for reporting back.
Joao
On Saturday, November 19, 2011 00:08:53 TJ wrote:
...
> By "see" the drives, I mean in windows. Previosly I could mount "/mnt"
> and md0, and the two swap partitons were visible, I could even
> navigate into them, install packages into them.
gee... do a quick google search on 'swap' or 'paging'
A swap partition is where the operation system (linux) stores running programs and running programs data when main (physical) memory is not enough to hold them; this happens either when there are too many programs running on a computer, or they are processing large amounts of data, and physical memory is small.
If you have 500MB on an active swap partition, this sums to the 64MB of physical memory, and the end result is like if the dns had 564MB of memory.
If you don't have an active swap partition, then you can't run programs that need more them 64MB.
Conclusion: a swap partition is needed on linux, and it is *not* for user manipulation.
Notice that it is not enough to have a partition of type swap to have swap enabled; a command ('mkswap') is needed to properly format the partition, and the partition has to be activated with the command 'swapon'. The first command is executed by the Disk Partitioner or Disk Wizard, and the second is executed at boot, so you don't have to worry about that.
For completeness: a swap file could be used instead of a partition, but it is less efficient. MS-Windows uses a swap file, it is a hidden file located at the disk root, I don't remember its name now.
> I'm sure it is better
> that I can't now. The status page shows a swap of 1000MB right now,
> but it seems to fluctuate a little. I seem to barely use any of this
> swap anyways.
That is the used and total swap space,
Swap: 0.3/1023 MB
means 1023MB available (two 512MB partitions, one per disk -- makes swaping even more efficient) and 300KB in use.
When you start use mediatomb you will be the amount of used swap increase.
> The status page for alt-f says I have a md0 with 2.7TB capacity, and
> (at the time) only 2.5TB available. I currently have only 179.7GB
> available, but the sum of the folders (including the alt-f and user
> folders) is 2.37TB. Shouldn't I have 300 or so GB of free space? Are
> there 130GB being used up by some temp files, or logs or something?
> When I mount in windows, it also shows a drive size of 2.68TB, free
> space of 179GB, but only 2.37TB taken up by my massive video folder,
> and the 30MB or so for alt-f files.
The same way as your wardrobe "wastes" some space for the drawers, a filesystem needs space to hold your files.
When a filesystem is created 5% of the available space is reserved for the filesystem to use (the drawers). Different filesystem use different amounts of data, so for the same partition, ext2 can "waste" less space than "ext4".
You could specify less space to "waste", but there could be the possibility of you end-up having free disk space and no possibility of creating new files (no drawers available, although there is plenty of space in the wardrobe).
The default"wasted" space is empirically determined, but on systems with huge amount of small files 5% is not enough and at FS creatioing time one must reserve more space; on the other side, when a "small" amount of large files are the usage pattern, the default reserved space is indeed wasted.
> I tried the "enlarge" or "expand"
> feature (I forget the exact wording) to no avail. I am positive that I
> had 300GB free on stock firmware. Should I repartiton these drives?
No
> Would a FSCK discover more usable space somehow?
No
> Is it "bad" to have a raid-0 so full?
No. Raid-0 is bad by itself if you don't backup it frequently.
> Would I get more usable space from a JBOD?
No
> It almost feels like bad sectors or something are "using up" this
> space,
No
> drives are healthy according to SMART. Installing alt-f was an
> effort to prolong the usefulness of this box for my media purposes -
> there is no questioon that it has done that, but I hope not at the
> cost of aprox. 130GB
I just created a 10GB partition and formated it with ext2/ext3/ext4 and used the 'df -h' command to see how much space the FS "wasted":
ext2:
Filesystem Size Used Available Use% Mounted on
/dev/dm-0 9.8G 22.5M 9.3G 0% /mnt/altf-lvol0
ext3/ext4:
Filesystem Size Used Available Use% Mounted on
/dev/dm-0 9.8G 150.6M 9.2G 2% /mnt/altf-lvol0
You see that ext2 is the less waste-full filesystem, using only 22.5MB, while ext3/ext4 uses 150MB. Notice that there are *no* files in the filesystem!
aiai... for completess, I formated it also with NTFS:
Filesystem Size Used Available Use% Mounted on
/dev/dm-0 10.0G 51.9M 9.9G 1% /mnt/altf-lvol0
and vfat:
Filesystem Size Used Available Use% Mounted on
/dev/dm-0 10.0G 8.0K 10.0G 0% /mnt/altf-lvol0
So, for the maximum disk pay-load you should use vfat, and return to MS-DOS and 1980. Good trip :-)