Film-Tech Cinema Systems
Film-Tech Forum ARCHIVE


  
my profile | my password | search | faq & rules | forum home
  next oldest topic   next newest topic
» Film-Tech Forum ARCHIVE   » Operations   » Digital Cinema Forum   » formatting CRU drive on DSS servers

   
Author Topic: formatting CRU drive on DSS servers
Carsten Kurz
Film God

Posts: 4340
From: Cologne, NRW, Germany
Registered: Aug 2009


 - posted 11-18-2018 07:27 AM      Profile for Carsten Kurz   Email Carsten Kurz   Send New Private Message       Edit/Delete Post 
Quoting from one of Steves post in another thread:

---
Use the formatStore.sh command with the argument "removable" (without the quotes) to format a CRU.

It has been awhile since I've used it so there may be additional bits like:

./formatStore.sh localhost removable
---

Is there some documentation available for the formatStore.sh command/script? Available options?
Any risk you could destroy your content raid with it?

- Carsten

 |  IP: Logged

Ioannis Syrogiannis
Expert Film Handler

Posts: 147
From: Reykjavík, Iceland
Registered: Jun 2005


 - posted 11-18-2018 09:05 AM      Profile for Ioannis Syrogiannis   Email Ioannis Syrogiannis   Send New Private Message       Edit/Delete Post 
As linux is case sensitive, use "Removable" instead (capital r).
There is a "USB" option also, for FAT32 formatting.
As far as Dolby was concerned, those effect only the connected devices.

 |  IP: Logged

Carsten Kurz
Film God

Posts: 4340
From: Cologne, NRW, Germany
Registered: Aug 2009


 - posted 11-18-2018 10:41 AM      Profile for Carsten Kurz   Email Carsten Kurz   Send New Private Message       Edit/Delete Post 
Thank you Ioannis,

Doremis have similar functions, but on an more or less unrestricted linux level, and you have to be careful which of the classic-unix style devices you choose in such commands. Looks as if on the DSS servers, only safe options are possible, as this is not a generic linux command, but a tailored script (similar to Doremis RAIDinit).

There is a colleague with a seemingly urgent need for RAID reinit and database wipe on his two DSS200, and, him being remote, I am trying to convince him to format his own ext2 disc in order to backup his content before his tech arrives on site. Obviously, he feels uneasy about issueing terminal commands.

- Carsten

 |  IP: Logged

Leo Enticknap
Film God

Posts: 7474
From: Loma Linda, CA
Registered: Jul 2000


 - posted 11-18-2018 11:55 AM      Profile for Leo Enticknap   Author's Homepage   Email Leo Enticknap   Send New Private Message       Edit/Delete Post 
I tried the formatstore command once or twice, but never had any success with it. Twice, I saw drive activity, but then the light went out and it just hung forever.

The easiest way to format an ISDCF-legal DCP drive is to use a PC running a native Linux-based OS. Ubuntu or CentOS will do fine (including running as a live image), for example. The command line is mke2fs -t ext3 -I 128 /dev/sdXY

You can substitute ext2 for ext3 if you wish, and omit the Y altogether if you want to use the entire drive.

 |  IP: Logged

Carsten Kurz
Film God

Posts: 4340
From: Cologne, NRW, Germany
Registered: Aug 2009


 - posted 11-18-2018 12:30 PM      Profile for Carsten Kurz   Email Carsten Kurz   Send New Private Message       Edit/Delete Post 
We'll give it a try on a 4.9.118 system with a 2TB drive, don't know if that script can deal with larger drives properly.

- Carsten

 |  IP: Logged

Steve Guttag
We forgot the crackers Gromit!!!

Posts: 12814
From: Annapolis, MD
Registered: Dec 1999


 - posted 11-18-2018 01:27 PM      Profile for Steve Guttag   Email Steve Guttag   Send New Private Message       Edit/Delete Post 
I've done it up to 4TB with success...it took on the order of 40 minutes to format the entire drive.

The only documentation that I'm aware of is in the 4.5.x release notes and it doesn't tell you much beyond that the command exists. I believe that if you execute it incorrectly, it will let you know what options are available. To the best of my knowledge, there is just "removable" and "usb." I think they are lower-case but I could be wrong on it. If I'm wrong, I'm sure the script will admonish you with what the choices are.

 |  IP: Logged

Frank Cox
Film God

Posts: 2234
From: Melville Saskatchewan Canada
Registered: Apr 2011


 - posted 11-18-2018 02:57 PM      Profile for Frank Cox   Author's Homepage   Email Frank Cox   Send New Private Message       Edit/Delete Post 
If it's a bash script then it's a text file.

You could with this command and find out exactly what it does and what the actual options are:

less ./formatStore.sh

 |  IP: Logged

Ioannis Syrogiannis
Expert Film Handler

Posts: 147
From: Reykjavík, Iceland
Registered: Jun 2005


 - posted 11-18-2018 03:58 PM      Profile for Ioannis Syrogiannis   Email Ioannis Syrogiannis   Send New Private Message       Edit/Delete Post 
The script (sh) calls a python script elsewhere.
That is as far as I went, earlier.

edit: I am not sure that the "less" command will be available in DSS. It is rather striped.
Only figure that there is no shutdown command, to do the trick.
The "cat" one will probably be, though. And the script is a few lines long.

 |  IP: Logged

Ioannis Syrogiannis
Expert Film Handler

Posts: 147
From: Reykjavík, Iceland
Registered: Jun 2005


 - posted 11-28-2018 07:37 AM      Profile for Ioannis Syrogiannis   Email Ioannis Syrogiannis   Send New Private Message       Edit/Delete Post 
I couldn't edit my post after all that time, sorry for posting one comment after another:
After all, in order to correct myself and verify Frank, if someone would list the directory of /bin would find both the "less" and "cat" commands. Would also find that the "ifconfig" command is there (instead of the non-present -for the administrator- /sbin folder)

 |  IP: Logged



All times are Central (GMT -6:00)  
   Close Topic    Move Topic    Delete Topic    next oldest topic   next newest topic
 - Printer-friendly view of this topic
Hop To:



Powered by Infopop Corporation
UBB.classicTM 6.3.1.2

The Film-Tech Forums are designed for various members related to the cinema industry to express their opinions, viewpoints and testimonials on various products, services and events based upon speculation, personal knowledge and factual information through use, therefore all views represented here allow no liability upon the publishers of this web site and the owners of said views assume no liability for any ill will resulting from these postings. The posts made here are for educational as well as entertainment purposes and as such anyone viewing this portion of the website must accept these views as statements of the author of that opinion and agrees to release the authors from any and all liability.

© 1999-2020 Film-Tech Cinema Systems, LLC. All rights reserved.