LinuxMCE Forums
May 24, 2013, 01:49:47 am GMT-1 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com
 
   Home   Help Search Chat Login Register  
Pages: [1]
  Print  
Author Topic: Change The name of your hard drive  (Read 448 times)
tux-box1
Veteran
***
Posts: 80


View Profile
« on: March 30, 2011, 12:23:15 am »

Ok I added and formated a new drive and installed it into my core/hybrid told it to use LMCE file structure, but noticed that it named it by the model of the drive + some random number. Normally this wouldn't matter to most and under certain circumstances it wouldn't bother me; however I have, and will install several more drives of the same model. Once you have something that woks stick with it, right..
I would like to know how to rename the drives so it makes since to me when I'm about in SSH, or on the web page it's self, with out breaking everything.
Thanks.
Logged
Aviator
Veteran
***
Posts: 79



View Profile
« Reply #1 on: March 30, 2011, 02:15:11 am »

I would leave this alone. This name is created by the auto mounter script and is used through the database and symlinks in /home. It will never assign the same number to two different drives. I don't think this can be done without causing things to break.
Logged

golgoj4
wants to work for LinuxMCE
**
Posts: 823


hrumpf!


View Profile WWW
« Reply #2 on: March 30, 2011, 09:29:52 am »

You can do this, but its really a pain to do mid installation. LinuxMCE will spider the data on the drives, obviously, but the paths wont match when you change the name. So you have to wait for it to re-spider the new stuff or be really good with mysql or it will have all the old stuff that you cant tell between as it works out whats changed.  Otherwise, it needs to be dont AS SOON as the drive is detected so it has the proper name as update media spiders things.

hth
golgoj4
Logged

Those people who tell you not to take chances, they are all missing what life's all about.

Wiki Hardware Page http://wiki.linuxmce.org/index.php/User:Langstonius
totallymaxed
LinuxMCE God
****
Posts: 4310


View Profile WWW
« Reply #3 on: March 30, 2011, 10:17:07 am »

Ok I added and formated a new drive and installed it into my core/hybrid told it to use LMCE file structure, but noticed that it named it by the model of the drive + some random number. Normally this wouldn't matter to most and under certain circumstances it wouldn't bother me; however I have, and will install several more drives of the same model. Once you have something that woks stick with it, right..
I would like to know how to rename the drives so it makes since to me when I'm about in SSH, or on the web page it's self, with out breaking everything.
Thanks.

As golgoj4 and Aviator have already said I would not attempt this...you'll end up with a severely broken system.

All the best


Andrew
Logged

Andy Herron,
Convergent Home Technologies Ltd
United Kingdom

Dianemo S Now Shipping on Ubuntu 12.04LTS
Build your system on the latest Ubuntu OS Release!

Get a Dianemo S License: http://forum.linuxmce.org/index.php?topic=8880.0
iOS Orbiter: http://wiki.linuxmce.org/index.php/Dianemo_iOS_Orbiter
Follow us on Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

Sales & Info:
http://www.dianemo.co.uk
JoakimL
Veteran
***
Posts: 149



View Profile
« Reply #4 on: March 30, 2011, 07:09:32 pm »

I changed the name of my 2 TB drive in thew Web Admin, worked like a charm. Now it's called 2T and all links work just fine.


/Joakim
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!