Author Topic: New Disks And Options  (Read 2076 times)

CentralMedia

  • Guru
  • ****
  • Posts: 161
    • View Profile
New Disks And Options
« on: September 06, 2013, 12:59:22 am »
I have a new disk should I let LNMCE add it and configure?

If I decide to remove and upgrade, plan to mirror that disk, can the added disk be deleted?

Or, should I not let LNMCE manage the disk, add and mount it manually under videos and when I get the second disk and mirror it (have a 4 port raid card that does hardware mirroring), then let LNMCE manage it?

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5549
  • DOES work for LinuxMCE.
    • View Profile
Re: New Disks And Options
« Reply #1 on: September 06, 2013, 05:45:16 am »
Under no circumstances should you manually manage the filesystem. You will break things. (Ok, that's a bit dire, but it mostly holds true, we have extensive automounting in place, that will freak the fuck out if you try to side step it... if you're interested, look at /etc/auto.PlutoStorageDevices, if you want to understand the extent of it.)

Basically, any disk that is detected and/or added, is a device in the device tree. If you look in Advanced > Configuration > Devices, in web admin, you'll see your device.

You can alter its characteristics by clicking on it, and altering device data. Deleting the device, and reloading the router, will cause the disk to no longer be mounted, and the relevant directory symlinks deleted from /home

If you want to manually add a disk, you'll need to tell me a bit more, is this a local disk? In that case, #1790 would manually be added, if it isn't automatically detected?

Is it a network disk? If so, a File Server device would be added, with a child for each share (NFS or SMB). Again, this would automatically be detected, unless the file server had already been detected and you either configured or ignored it (it will not scan it again), in which case, you would probably just modify the children manually, adding, deleting them from the device tree.

-Thom