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

Main Menu

Adding new partitions to an existing core

Started by cmorant, January 25, 2007, 10:39:24 PM

Previous topic - Next topic

archived

Hi,

I recently installed a .43 core.
I have one disk with a media partition.
The partition was created by pluto .42 so it has the "public" and "user_n" directory structure.

I would like the core to register this partition.
.42 discovered the disk automatically and added the content to the DB.

What do you advise? (Copying all data is problematic as the disk contains 500GB of data ... And I don't have a 500GB spare disk)

Christian

archived

the partitions are now detected and the user is asked what to do with it. ignore it or add it?

the new partition is mounted and you actually got a new device number for it with settings in device data.

archived

OK,

When I installed the .43 I had left the external partition and, you're right I was requested about the partition. But I selected ignore.

Now I'd like to stop ignoring.

Help !

Christian

archived

There's two ways to do this, both from the web interface

Either, Advanced>Configuration>Unknowed Devices
Or Under Advance>Configuration>Devices, then browse the device tree to the MD that has the drive and tick the boxes to use the device.

archived

Sorry but there's nothing there.

The "Advanced>Configuration>Unknown devices" shows "No records" and there's nothing in the "Advanced>Configuration>Devices" that looks like a disk device.

The disk is present, I can manually mount it but it is not automounted.

Christian

archived

I'm not sure it helps very much but this is how it looks on me:

mysql> select * from UnknownDevices;
+-------------------+-------------+------------+-----------+---------------+---------------+--------------+--------+-----------+----------+------------+----------------+--------------+
| PK_UnknownDevices | Description | MacAddress | IPAddress | VendorModelId | SerialNumber  | FK_Device_PC | psc_id | psc_batch | psc_user | psc_frozen | psc_mod        | psc_restrict |
+-------------------+-------------+------------+-----------+---------------+---------------+--------------+--------+-----------+----------+------------+----------------+--------------+
|                 1 | NULL        |            |           | DT:1790       | 152|/dev/hda1 |           35 |   NULL |      NULL |     NULL |          0 | 20070126133416 |         NULL |
|                 2 | NULL        |            |           | DT:1790       | 152|/dev/hda2 |           35 |   NULL |      NULL |     NULL |          0 | 20070126133419 |         NULL |
|                 3 | NULL        |            |           | DT:1790       | 152|/dev/sda1 |           56 |   NULL |      NULL |     NULL |          0 | 20070126143900 |         NULL |
+-------------------+-------------+------------+-----------+---------------+---------------+--------------+--------+-----------+----------+------------+----------------+--------------+
3 rows in set (0.00 sec)

archived

The admin page is correct:

mysql> select * from UnknownDevices;
Empty set (0.01 sec)

mysql> select * from Device where Description like "Disk%";
+-----------+----------+---------+-----------------+--------------+-------------+-------------------+-------------------------+-----------+------------+-------------+-------------------+---------------+-------+--------+----------+-------------------+-------------+--------+-----------+----------+------------+----------------+--------------+
| PK_Device | Disabled | FK_Room | FK_Installation | FK_DesignObj | Description | FK_DeviceTemplate | FK_Device_ControlledVia | IPaddress | MACaddress | IgnoreOnOff | FK_Device_RouteTo | NeedConfigure | State | Status | PingTest | EK_LicensedDevice | IsNewDevice | psc_id | psc_batch | psc_user | psc_frozen | psc_mod        | psc_restrict |
+-----------+----------+---------+-----------------+--------------+-------------+-------------------+-------------------------+-----------+------------+-------------+-------------------+---------------+-------+--------+----------+-------------------+-------------+--------+-----------+----------+------------+----------------+--------------+
|        36 |        0 |       1 |            7806 |         NULL | Disk Drive  |                11 |                      28 |           |            |           0 |              NULL |             0 |       |        |     NULL |              NULL |           1 |   NULL |      NULL |     NULL |          0 | 20070116212401 |         NULL |
+-----------+----------+---------+-----------------+--------------+-------------+-------------------+-------------------------+-----------+------------+-------------+-------------------+---------------+-------+--------+----------+-------------------+-------------+--------+-----------+----------+------------+----------------+--------------+
1 row in set (0.00 sec)


This disk excepted there's nothing in the devices that looks like a disk...


But see this:

dcerouter_7806:/var/log# cd /mnt
dcerouter_7806:/mnt# ls
device  EXT1  EXT2  INT1  USB
dcerouter_7806:/mnt# mount /dev/sdb1 EXT1
dcerouter_7806:/mnt# mount /dev/sdb2 EXT2
dcerouter_7806:/mnt# mount /dev/sda8 INT1
dcerouter_7806:/mnt# ls INT1
lost+found  public  user_1
dcerouter_7806:/mnt# ls EXT1
lost+found  public  user_1
dcerouter_7806:/mnt#

Christian

archived

Hi,

Has anyone a clue about this?

Christian