Author Topic: Adding new partitions to an existing core  (Read 13467 times)

archived

  • Hello, I'm new here
  • Posts: 0
    • View Profile
Adding new partitions to an existing core
« on: January 25, 2007, 10:39:24 pm »
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

  • Hello, I'm new here
  • Posts: 0
    • View Profile
Adding new partitions to an existing core
« Reply #1 on: January 26, 2007, 09:43:14 am »
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

  • Hello, I'm new here
  • Posts: 0
    • View Profile
Adding new partitions to an existing core
« Reply #2 on: January 26, 2007, 06:53:24 pm »
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

  • Hello, I'm new here
  • Posts: 0
    • View Profile
Adding new partitions to an existing core
« Reply #3 on: January 26, 2007, 07:11:52 pm »
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

  • Hello, I'm new here
  • Posts: 0
    • View Profile
Adding new partitions to an existing core
« Reply #4 on: January 27, 2007, 11:30:23 am »
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

  • Hello, I'm new here
  • Posts: 0
    • View Profile
Adding new partitions to an existing core
« Reply #5 on: January 29, 2007, 09:47:47 am »
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

  • Hello, I'm new here
  • Posts: 0
    • View Profile
Adding new partitions to an existing core
« Reply #6 on: January 29, 2007, 10:15:47 am »
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

  • Hello, I'm new here
  • Posts: 0
    • View Profile
Adding new partitions to an existing core
« Reply #7 on: February 04, 2007, 10:57:18 pm »
Hi,

Has anyone a clue about this?

Christian