Tilted Forum Project Discussion Community

Tilted Forum Project Discussion Community (https://thetfp.com/tfp/)
-   Tilted Technology (https://thetfp.com/tfp/tilted-technology/)
-   -   Filesystems (https://thetfp.com/tfp/tilted-technology/35943-filesystems.html)

sailor 11-16-2003 11:23 AM

Filesystems
 
I have a 160GB external drive that I would like to format into a filesystem that both my Linux and Windows installs can read. It obviously cant stay as NTFS. My first thought is FAT32, but IIRC, FAT32 doesnt support large files well (and this drive is filled with them). How should I format this drive?

Marburg 11-16-2003 12:13 PM

FAT32 is probably going to be your only safe bet.
Microsoft OSes will only reat FAT, FAT32, NTFS, and that newfangled one that is going to come with longhorn. And until the linux kernal has a stable ntfs module we're all stuck with fat32. . .

What I did was partition my drive into 3 parts:
An NTFS windows xp partition.
A EXT3 Linux Partition
and a FAT32 partition for the file that I use in both OSes (mainly media and documents)

cliche 11-16-2003 12:19 PM

My setup is similar to Marburg's (except Reiser instead of ext3). However, I know there's some ext2 drivers 'out there' for Windows as I used to use them.

Explore2fs - not 'as native' though
Ext2fsd - looks more promising

I'm not sure what program I used to use, though...

nb - linux can read NTFS (many, many disclaimers about damage etc here) if you set the right options at kernel compile-time.

oberon 11-16-2003 01:52 PM

IMHO it's easier just to have another machine act as a fileserver. Then you can serve files over the network and not have to worry about this kind of crap.

ChipX86 11-16-2003 05:34 PM

Yes, a file server is the best idea. Failing that, however, FAT32 is your next best bet. You can try ext2, but the Windows drivers can cause issues, <i>especially</i> if you use ext3, which journals. You can screw things up or at least confuse things. Most systems default to ext3 nowadays.

sailor 11-16-2003 05:52 PM

I fail to see how a fileserver would help. Were I running a fileserver, it would be Linux, which would mean a filesystem that Windows couldnt see.

Grrr.... Annoying :(

numist 11-16-2003 05:58 PM

FAT32 will not support a drive that size, even if you try to trick it by partitioning.

You can make linux recognize NTFS. The newest kernel has built in support, and all the older ones can be recompiled to recognize the filesystem by adding 4 lines of code or so.

Not an easy solution, and somewhat ugly, but it does work perfectly.

sailor 11-17-2003 08:49 AM

Yeah, I know that it can read it, but doesnt it tear it up if it tries to write to it?

ratbastid 11-17-2003 09:16 AM

Quote:

Originally posted by sailor420
I fail to see how a fileserver would help. Were I running a fileserver, it would be Linux, which would mean a filesystem that Windows couldnt see.

Grrr.... Annoying :(

There's always Samba....

Here at my office I've got a linux fileserver that exports the same directory as both an NFS mount and a Samba share.

Just be DAMN sure you close the pertinent ports on your firewall!

Dilbert1234567 11-17-2003 05:17 PM

fat32 is your best bet.

Sunrise 11-17-2003 09:22 PM

If you only need read, go with NTFS. Otherwise I'd agree with dilber - fat32 is best bet.

charliex 11-17-2003 09:46 PM

numist, FAT32 supports upto 2 terabytes (for partitions), the drive size limits come from the controllers not having 48 lba or whatever

kel 11-17-2003 09:53 PM

FAT32 doesn't have a problem as long as you don't have files that are larger then 4 gigabyte. Up to 4 gig it performs the same as any other filesystem.

sailor 11-18-2003 11:56 AM

OK... here is a related question. I am going to build a PVR soon. It will be running Linux. If I want to be able to get the saved filed off of the HDD from a Windows machine, should I format it as EXT3 and use Samba, or should I format it FAT32? I would be worried with FAT32 because if you were to record a long show, it could easily get too long for FAT32 to handle gracefully.

charliex 11-18-2003 12:32 PM

there are utulities that will allow you to mount or read an ext2/3 partition from windows, just use that if youa re just reading

kel 11-18-2003 02:22 PM

Well sailor 420, 4 gigs compressed represents alot of video in an indivdual file. My gut feeling is that FAT32 will work out fine for you.

Basically it boils down to bit rate, at 2 megabits a second (a very high quality divx/xvid/mpeg-4/windows media file) you can record 266 minutes in a 4 gig file.

MPEG2 compression used on DVDs at around 10 megabits a second would only give you 53 minutes of video in a 4 gig file.

The original MPEG standard compression used in videoCDs is 1.5 megabits a second and that gives you 355 minutes in 4 gigs.

If you could tell me what software you plan on using I can check which codecs they use (and then what type of bitrate we are looking at) No matter what codec you use you can set the bitrate to fit your need.

sailor 11-18-2003 07:08 PM

Thats the problem, it will be MPEG2 (or something very similar, not very compressed at all) because the machine is a P3 800, and doesnt have the horsepower to encode at anything much better than that.

I will be running either MythTV (most likely) or Freevo.

kel 11-18-2003 07:30 PM

Quote:

A PIII/800MHz system with 512MB RAM can encode one video stream using the RTJPEG codec with 480x480 capture resolution and play it back simultaneously, thereby allowing live TV watching.
A PIII/733MHz system can encode one video stream using the MPEG-4 codec using 480x480 capture resolution. This does not allow for live TV watching, but does allow for encoding video and then watching it later.

Encoded video takes up a lot of hard disk space. The exact amount depends on the encoding scheme, the size of the raw images, and the frames per second, but typical values for MythTV range from 700 megabytes/hour to 2 gigabyte/hour for MPEG-4 and larger for MPEG-2 and RTJPEG.
Bottomline... you can switch between mpeg-4 and mpeg-2 depending on the length of the program you wish to record. But in 4 gigs your guaranteed two hours of recording at least, up to 8... kind of like working with VHS aint it?

sailor 11-18-2003 08:14 PM

Quote:

2 gigabyte/hour for MPEG-4 and larger for MPEG-2 and RTJPEG.
Thats still cutting it pretty close...

Bah, why must this be so difficult :(

kel 11-18-2003 08:46 PM

Your quoting wrong
700 megabytes/hour for mpeg-4
that means 4 gigs holds 5 hours + with mpeg-4

You can change the encoding when you need to record five hours... and you can adjust bit rates no matter what codec you use to sacrifice quality but gain space.

4 gigs is enough IMO

I dunno if your system could even handle full bandwidth MPEG-2.


All times are GMT -8. The time now is 03:02 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2
© 2002-2012 Tilted Forum Project


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360