Setup new ssd

Bambam

New Member
Jul 12, 2015
5
0
1
Hello,

From colocation just added new ssd to my server, but i have problems with it.

He's my disk

Code:
Disk /dev/sdc: 59.5 GB, 59458453504 bytes
255 heads, 63 sectors/track, 7228 cylinders, total 116129792 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000d8ab7


   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1   *        2048      206847      102400    7  HPFS/NTFS/exFAT
/dev/sdc2          206848   117227519    58510336    7  HPFS/NTFS/exFAT

I do:
Code:
pvcreate /dev/sdc
Device /dev/sdc not found (or ignored by filtering).

Okay, this is not working i tried with:
Code:
pvcreate /dev/sdc1
Physical volume "/dev/sdc1" successfully created

Then i added it to proxmox -> http://prntscr.com/7rwdup but im waiting from 30+ mins to be installed -> http://prntscr.com/7rwe1n


Edit: And tried and this:
Code:
root@host2:~# fdisk /dev/sdc


Command (m for help): p


Disk /dev/sdc: 59.5 GB, 59458453504 bytes
255 heads, 63 sectors/track, 7228 cylinders, total 116129792 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000d8ab7


   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1   *        2048      206847      102400    7  HPFS/NTFS/exFAT
/dev/sdc2          206848   117227519    58510336    7  HPFS/NTFS/exFAT


Command (m for help): n
Partition type:
   p   primary (2 primary, 0 extended, 2 free)
   e   extended
Select (default p): p
Partition number (1-4, default 3):
Using default value 3
No free sectors available


Command (m for help):
 
Hi,
what so you want with your SSD?
First approach looks like volume for lvm-storage?!
I guess /dev/sdc is filterd by the filter section in /etc/lvm/lvm.conf (drbd in use?).

The partition table of your SSD looks that there data on it?! Id not do an new partition - like /dev/sdc1 for a 59Gb partition as type 8e (lvm).

Udo
 
When i type mount /disk2 i get this error..

mount: can't find /disk2 in /etc/fstab or /etc/mtab

Did you create /disk2 , as it states in step 4?

By the error you're getting, I'm assuming you don't have the FSTAB config setup correctly. Double check all of that, else the mount command will fail.