how we mount second disk ?

notter

Member
Jun 18, 2011
11
0
21
Hello


we have two disks in this server.
how we mount 2nd disk?



proxmox:~# fdisk -l


Disk /dev/sdc: 999.6 GB, 999653638144 bytes
255 heads, 63 sectors/track, 121534 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000


Device Boot Start End Blocks Id System
/dev/sdc1 * 1 66 524288 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sdc2 66 121534 975697535 8e Linux LVM


Disk /dev/dm-0: 16.1 GB, 16106127360 bytes
255 heads, 63 sectors/track, 1958 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000


Disk /dev/dm-0 doesn't contain a valid partition table


Disk /dev/dm-1: 103.0 GB, 103079215104 bytes
255 heads, 63 sectors/track, 12532 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000


Disk /dev/dm-1 doesn't contain a valid partition table


Disk /dev/dm-2: 875.6 GB, 875636457472 bytes
255 heads, 63 sectors/track, 106456 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xa177a9d2


Device Boot Start End Blocks Id System
/dev/dm-2p1 1 106456 855107788+ 83 Linux
proxmox:~#

thanks
we are waiting
 
use the search function of the forum, this is discussed and answered multiple times already.
 
Our machine has 2 hard drive. RAID 1 is used. "fdisk-l" When I write, I see a hard drive.How do I know that RAID 1?
 
Our machine has 2 hard drive. RAID 1 is used. "fdisk-l" When I write, I see a hard drive.How do I know that RAID 1?
Hi,
because you installed the raid in the raid-bios?
From the OS-side there don't must be a hint of the type of raid/disk. But it's can...
Look with
Code:
dmesg | grep sd
[    1.378190] sd 6:0:0:0: [sda] 3906249216 512-byte logical blocks: (1.99 TB/1.81 TiB)
[    1.378274] sd 6:0:0:0: [sda] Write Protect is off

# in this case 6:0
dmesg | grep 6:0
[    0.939926] scsi 6:0:0:0: Direct-Access     Areca    sata_raid1       R001 PQ: 0 ANSI: 5
[    0.940392] scsi 6:0:16:0: Processor         Areca    RAID controller  R001 PQ: 0 ANSI: 0
[    1.378190] sd 6:0:0:0: [sda] 3906249216 512-byte logical blocks: (1.99 TB/1.81 TiB)
in this case you see a sata_raid1 but this is only because i named the raidset so. Like wrote before - look in the raid-bios.

Udo
 
thanks udo

can you control it ?

proxmox:~# dmesg | grep sd
sd 8:0:0:1: Attached scsi generic sg1 type 0
sd 7:0:0:0: Attached scsi generic sg2 type 0
sd 7:0:0:0: [sdb] Attached SCSI removable disk
sd 8:0:0:1: [sda] Attached SCSI removable disk
sd 0:1:0:0: Attached scsi generic sg4 type 0
sd 0:1:0:0: [sdc] 1952448512 512-byte logical blocks: (999 GB/931 GiB)
sd 0:1:0:0: [sdc] Write Protect is off
sd 0:1:0:0: [sdc] Mode Sense: 03 00 00 08
sd 0:1:0:0: [sdc] Write cache: disabled, read cache: enabled, doesn't support DP O or FUA
sdc:
sdc1 sdc2
sd 0:1:0:0: [sdc] Attached SCSI disk
EXT3 FS on sdc1, internal journal


proxmox:~# dmesg | grep 6:0
proxmox:~# dmesg | grep 0:1
pci 0000:00:1a.0: reg 10 32bit mmio: [0xc5206000-0xc52063ff]
pci 0000:00:1a.0: PME# supported from D0 D3hot D3cold
pci 0000:00:1a.0: PME# disabled
pci 0000:00:1c.0: PME# supported from D0 D3hot D3cold
pci 0000:00:1c.0: PME# disabled
pci 0000:00:1d.0: reg 10 32bit mmio: [0xc5205000-0xc52053ff]
pci 0000:00:1d.0: PME# supported from D0 D3hot D3cold
pci 0000:00:1d.0: PME# disabled
pci 0000:00:1f.2: reg 10 io port: [0x3048-0x304f]
pci 0000:00:1f.2: reg 14 io port: [0x3054-0x3057]
pci 0000:00:1f.2: reg 18 io port: [0x3040-0x3047]
pci 0000:00:1f.2: reg 1c io port: [0x3050-0x3053]
pci 0000:00:1f.2: reg 20 io port: [0x3020-0x303f]
pci 0000:00:1f.2: reg 24 32bit mmio: [0xc5204000-0xc52047ff]
pci 0000:00:1f.2: PME# supported from D3hot
pci 0000:00:1f.2: PME# disabled
pci 0000:00:1f.3: reg 10 64bit mmio: [0xc5202000-0xc52020ff]
pci 0000:00:1f.3: reg 20 io port: [0x3000-0x301f]
pci 0000:00:1c.0: bridge 32bit mmio: [0xc0000000-0xc3ffffff]
pci 0000:00:1e.0: transparent bridge
pci 0000:00:1e.0: bridge 32bit mmio: [0xc4800000-0xc50fffff]
pci 0000:00:1e.0: bridge 64bit mmio pref: [0xc4000000-0xc47fffff]
pci 0000:00:1c.0: PCI bridge, secondary bus 0000:02
pci 0000:00:1c.0: IO window: disabled
pci 0000:00:1c.0: MEM window: 0xc0000000-0xc3ffffff
pci 0000:00:1c.0: PREFETCH window: disabled
pci 0000:00:1e.0: PCI bridge, secondary bus 0000:03
pci 0000:00:1e.0: IO window: disabled
pci 0000:00:1e.0: MEM window: 0xc4800000-0xc50fffff
pci 0000:00:1e.0: PREFETCH window: 0x000000c4000000-0x000000c47fffff
pci 0000:00:1c.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
pci 0000:00:1c.0: setting latency timer to 64
pci 0000:00:1e.0: setting latency timer to 64
pcieport 0000:00:1c.0: irq 25 for MSI/MSI-X
pcieport 0000:00:1c.0: setting latency timer to 64
ehci_hcd 0000:00:1a.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
ehci_hcd 0000:00:1a.0: setting latency timer to 64
ehci_hcd 0000:00:1a.0: EHCI Host Controller
ehci_hcd 0000:00:1a.0: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:1a.0: debug port 2
ehci_hcd 0000:00:1a.0: cache line size of 32 is not supported
ehci_hcd 0000:00:1a.0: irq 16, io mem 0xc5206000
ehci_hcd 0000:00:1a.0: USB 2.0 started, EHCI 1.00
usb usb1: SerialNumber: 0000:00:1a.0
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
ahci 0000:00:1f.2: version 3.0
ahci 0000:00:1f.2: PCI INT B -> GSI 19 (level, low) -> IRQ 19
ahci 0000:00:1f.2: irq 27 for MSI/MSI-X
ahci 0000:00:1f.2: AHCI 0001.0300 32 slots 6 ports 3 Gbps 0x20 impl SATA mode
ahci 0000:00:1f.2: flags: 64bit ncq sntf stag pm led clo pio slum part ems sxs a pst
ahci 0000:00:1f.2: setting latency timer to 64
ehci_hcd 0000:00:1d.0: PCI INT A -> GSI 23 (level, low) -> IRQ 23
ehci_hcd 0000:00:1d.0: setting latency timer to 64
ehci_hcd 0000:00:1d.0: EHCI Host Controller
ehci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 2
ehci_hcd 0000:00:1d.0: debug port 2
ehci_hcd 0000:00:1d.0: cache line size of 32 is not supported
ehci_hcd 0000:00:1d.0: irq 23, io mem 0xc5205000
ehci_hcd 0000:00:1d.0: USB 2.0 started, EHCI 1.00
usb usb2: SerialNumber: 0000:00:1d.0
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
input: Avocent USB Composite Device-0 as /devices/pci0000:00/0000:00:1a.0/usb1/1 -1/1-1.1/1-1.1:1.0/input/input1
generic-usb 0003:0624:0248.0001: input,hidraw0: USB HID v1.00 Keyboard [Avocent USB Composite Device-0] on usb-0000:00:1a.0-1.1/input0
input: Avocent USB Composite Device-0 as /devices/pci0000:00/0000:00:1a.0/usb1/1 -1/1-1.1/1-1.1:1.1/input/input2
generic-usb 0003:0624:0248.0002: input,hidraw1: USB HID v1.00 Mouse [Avocent USB Composite Device-0] on usb-0000:00:1a.0-1.1/input1
scsi 8:0:0:1: Direct-Access iDRAC Virtual Floppy 0323 PQ: 0 ANSI: 0 CCS
sd 8:0:0:1: Attached scsi generic sg1 type 0
sd 8:0:0:1: [sda] Attached SCSI removable disk
scsi 0:1:0:0: Direct-Access Dell Virtual Disk 1028 PQ: 0 ANSI: 6
scsi 0:1:0:0: RAID1: handle(0x004f), wwid(0x0b4f45d7d2ccc61f), pd_count(2), type (SSP)
scsi 0:1:0:0: qdepth(128), tagged(1), simple(1), ordered(0), scsi_level(7), cmd_ que(1)
sd 0:1:0:0: Attached scsi generic sg4 type 0
sd 0:1:0:0: [sdc] 1952448512 512-byte logical blocks: (999 GB/931 GiB)
sd 0:1:0:0: [sdc] Write Protect is off
sd 0:1:0:0: [sdc] Mode Sense: 03 00 00 08
sd 0:1:0:0: [sdc] Write cache: disabled, read cache: enabled, doesn't support DP O or FUA
sd 0:1:0:0: [sdc] Attached SCSI disk
scsi 0:0:1:0: Direct-Access SEAGATE ST31000424SS KS68 PQ: 0 ANSI: 5
scsi 0:0:1:0: SSP: handle(0x000a), sas_addr(0x5000c500263fa005), device_name(0x0 0c5005004a03f26)
scsi 0:0:1:0: SSP: enclosure_logical_id(0x5782bcb03261a200), slot(0)
scsi 0:0:1:0: qdepth(254), tagged(1), simple(1), ordered(0), scsi_level(6), cmd_ que(1)
scsi 0:0:1:0: Attached scsi generic sg6 type 0
i801_smbus 0000:00:1f.3: PCI INT C -> GSI 19 (level, low) -> IRQ 19
ACPI: I/O resource 0000:00:1f.3 [0x3000-0x301f] conflicts with ACPI region SMBI [0x3000-0x300f]
proxmox:~#