Linux Server

Anything and everything to do with DCP-o-matic.
Lanugo
Posts: 4
Joined: Wed Nov 19, 2014 7:53 pm

Linux Server

Post by Lanugo »

Hi,

Very new to this, so please bare with me. First of all thank you for such a great program! I have just one question really, maybe two. I completed a feature documentary which is being screened this month. The request from the cinema is a DCI compliant, 24 fps DCP delivered on a Linux compatible drive. All good apart from the Linux part. I work on Windows, so do I have to create a Linux environment within a partition on the DCP drive? Will a DCP created within Windows work if it is copied to a Linux partition?

Thanks in advance.

D.
Lanugo
Posts: 4
Joined: Wed Nov 19, 2014 7:53 pm

Re: Linux Server

Post by Lanugo »

Created an EXT2 partition, using Diskinternals Linux reader to copy DCP into the partition. Anyone have experience of this? Could it work?

Thanks :)

D.
carl
Site Admin
Posts: 2550
Joined: Thu Nov 14, 2013 2:53 pm

Re: Linux Server

Post by carl »

HI there,

That should work, but I haven't tried it myself... someone else might have.
Lanugo
Posts: 4
Joined: Wed Nov 19, 2014 7:53 pm

Re: Linux Server

Post by Lanugo »

carl wrote:HI there,

That should work, but I haven't tried it myself... someone else might have.
Thanks, it didn't work, they were unable to ingest the DCP. So I'm reformatting the drive and trying again using the info from this link - http://isdcf.com/papers/ISDCF-Doc3-File ... ucture.pdf
which is quite helpful.

Cheers.
willyfan
Posts: 9
Joined: Sat Feb 01, 2014 3:05 pm

Re: Linux Server

Post by willyfan »

I use a usb key with ubuntu installed.

procedure is (from a command line shell):

Run gparted
sudo gparted

In Gparted
Click on “Make a dos partition table”
Use add partition and format the drive as ext 2 or ext3.
Note the name of the partition (like sda1) and format it again in terminal with -I 128 inode The -j is for journal (ext3).

Code: Select all

sudo mkfs.ext2 -j -I 128 /dev/sda1
Mount the drive with

Code: Select all

sudo mount /dev/sda1 /mnt/disk
(in Ubuntu may be the partition will be mounted automatically)
Make a directory for the DCP

Code: Select all

sudo mkdir /mnt/disk/dcp
Then use

Code: Select all

sudo chmod -R 777 /mnt/disk/dcp
so everyone can write to it
Then find the dcp directory and copy it to the dcp directory.
Then make the dcp directory read only and executable.

Code: Select all

chmod -R 755 /mnt/disk/dcp
Lanugo
Posts: 4
Joined: Wed Nov 19, 2014 7:53 pm

Re: Linux Server

Post by Lanugo »

Hey,

Thanks, that's very useful!

I managed to get it to work by formatting the entire drive as EXT3, and simply copying the DCP folder contents (without the folder itself), straight onto the drive, no need for Ubuntu etc.

Cheers,

D.
willyfan
Posts: 9
Joined: Sat Feb 01, 2014 3:05 pm

Re: Linux Server

Post by willyfan »

The problem formatting drive without ubuntu is the Inode size. I not found tools for formatting drive in ext3 whit inode at 128 without Ubuntu or other linux distribution.
It's very important that Inode will be 128
Carsten
Posts: 2806
Joined: Tue Apr 15, 2014 9:11 pm
Location: Germany

Re: Linux Server

Post by Carsten »

It is only important for certain (older) servers to have an inode size of 128. But in general, DCP distribution aims for single-inventory and universal compatibility, hence the ISDCF proposed parameters should and will work with all servers. A lot of servers work with GUID/GPT, 3TB, NTFS, HFS+, exFat, etc., but if you're unlucky, the one you are sending your drive to is just the one that can't.

So:

MBR partition scheme (this needs special attention on all current general computer OS's, as they now default to GUID/GPT!!!)
EXT2 or EXT3 (no benefit in using EXT3), inode size 128
No discs larger than 2TB

- Carsten