LinuxMCE Forums

General => Users => Topic started by: tux-box1 on March 30, 2011, 01:23:15 AM

Title: Change The name of your hard drive
Post by: tux-box1 on March 30, 2011, 01: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.
Title: Re: Change The name of your hard drive
Post by: Aviator on March 30, 2011, 03: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.
Title: Re: Change The name of your hard drive
Post by: golgoj4 on March 30, 2011, 10: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
Title: Re: Change The name of your hard drive
Post by: totallymaxed on March 30, 2011, 11:17:07 AM
Quote from: tux-box1 on March 30, 2011, 01: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.

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
Title: Re: Change The name of your hard drive
Post by: JoakimL on March 30, 2011, 08: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