Quantcast
Channel: UNIX and Linux Forums
Viewing all articles
Browse latest Browse all 16232

0: Failure: (138) Device does not have a disk-config

$
0
0
Hi guys,

Any idea why I am getting the below error ?


Code:

[root@alpha ~]# drbdsetup disk-options 0 --resync-rate=500M
0: Failure: (138) Device does not have a disk-config


Some info is;

Code:

[root@alpha ~]# fdisk -l

Disk /dev/sda: 64.4 GB, 64424509440 bytes
64 heads, 32 sectors/track, 61440 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0004c300

  Device Boot      Start        End      Blocks  Id  System
/dev/sda1  *          2        501      512000  83  Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2            502      61440    62401536  8e  Linux LVM
Partition 2 does not end on cylinder boundary.

Disk /dev/mapper/VolGroup-lv_root: 50.6 GB, 50553946112 bytes
255 heads, 63 sectors/track, 6146 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000


Disk /dev/mapper/VolGroup-lv_swap: 8405 MB, 8405385216 bytes
255 heads, 63 sectors/track, 1021 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000


Disk /dev/mapper/VolGroup-lv_home: 4936 MB, 4936695808 bytes
255 heads, 63 sectors/track, 600 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000


Disk /dev/sdb: 17.2 GB, 17179869184 bytes
64 heads, 32 sectors/track, 16384 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xc753e10f

  Device Boot      Start        End      Blocks  Id  System
/dev/sdb1              1      16384    16777200  83  Linux

Code:

[root@alpha ~]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/VolGroup-lv_root
                      47G  2.6G  42G  6% /
tmpfs                3.9G    0  3.9G  0% /dev/shm
/dev/sda1            485M  37M  423M  9% /boot
/dev/mapper/VolGroup-lv_home
                      4.6G  138M  4.2G  4% /home
/dev/sdb1              16G  172M  15G  2% /cluster

Regards,
Junaid

Viewing all articles
Browse latest Browse all 16232

Trending Articles