disk not mounted, disk is busy

solidsnake

New Member
Joined
Oct 6, 2021
Messages
21
Reaction score
1
Credits
350
my disk on the server went to read only and I rebooted, but when I rebooted I couldn't mount the second disk I partitioned in the installation.

There is no important data on it, I'm trying to format it and it won't let me.

fdisk -l

Code:
WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.


Disk /dev/sdb: 5400.8 GB, 5400835350528 bytes
255 heads, 63 sectors/track, 656614 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 262144 bytes / 2359296 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1      267350  2147483647+  ee  GPT
Partition 1 does not start on physical sector boundary.

Disk /dev/sda: 600.1 GB, 600093712384 bytes
255 heads, 63 sectors/track, 72957 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 262144 bytes / 262144 bytes
Disk identifier: 0x000dc98a

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          64      512000   83  Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2              64       72958   585515008   8e  Linux LVM

WARNING: GPT (GUID Partition Table) detected on '/dev/mapper/mpathb'! The util fdisk doesn't support GPT. Use GNU Parted.


Disk /dev/mapper/mpathb: 5400.8 GB, 5400835350528 bytes
255 heads, 63 sectors/track, 656614 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 262144 bytes / 2359296 bytes
Disk identifier: 0x00000000

             Device Boot      Start         End      Blocks   Id  System
/dev/mapper/mpathbp1               1      267350  2147483647+  ee  GPT
Partition 1 does not start on physical sector boundary.

Disk /dev/mapper/mpatha: 600.1 GB, 600093712384 bytes
255 heads, 63 sectors/track, 72957 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 262144 bytes / 262144 bytes
Disk identifier: 0x000dc98a

             Device Boot      Start         End      Blocks   Id  System
/dev/mapper/mpathap1   *           1          64      512000   83  Linux
Partition 1 does not end on cylinder boundary.
/dev/mapper/mpathap2              64       72958   585515008   8e  Linux LVM

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


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

[root@db_smart /]# fdisk -l

WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.


Disk /dev/sdb: 5400.8 GB, 5400835350528 bytes
255 heads, 63 sectors/track, 656614 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 262144 bytes / 2359296 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1      267350  2147483647+  ee  GPT
Partition 1 does not start on physical sector boundary.

Disk /dev/sda: 600.1 GB, 600093712384 bytes
255 heads, 63 sectors/track, 72957 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 262144 bytes / 262144 bytes
Disk identifier: 0x000dc98a

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          64      512000   83  Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2              64       72958   585515008   8e  Linux LVM

WARNING: GPT (GUID Partition Table) detected on '/dev/mapper/mpathb'! The util fdisk doesn't support GPT. Use GNU Parted.


Disk /dev/mapper/mpathb: 5400.8 GB, 5400835350528 bytes
255 heads, 63 sectors/track, 656614 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 262144 bytes / 2359296 bytes
Disk identifier: 0x00000000

             Device Boot      Start         End      Blocks   Id  System
/dev/mapper/mpathbp1               1      267350  2147483647+  ee  GPT
Partition 1 does not start on physical sector boundary.

Disk /dev/mapper/mpatha: 600.1 GB, 600093712384 bytes
255 heads, 63 sectors/track, 72957 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 262144 bytes / 262144 bytes
Disk identifier: 0x000dc98a

             Device Boot      Start         End      Blocks   Id  System
/dev/mapper/mpathap1   *           1          64      512000   83  Linux
Partition 1 does not end on cylinder boundary.
/dev/mapper/mpathap2              64       72958   585515008   8e  Linux LVM

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


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


lsblk -f

Code:
NAME                          FSTYPE      LABEL      UUID                                   MOUNTPOINT
sdb
└─mpathb (dm-0)
  └─mpathbp1 (dm-2)           ext4        New Volume 6c89d912-4986-48ce-8393-9425a428d183
sda
└─mpatha (dm-1)
  ├─mpathap1 (dm-3)           ext4                   2d19ce5b-663e-4bdd-b097-201ef8ea31c0   /boot
  └─mpathap2 (dm-4)           LVM2_member            J8HVZ8-5tXZ-YiFr-3JkL-PODf-cXe9-xE4rLr
    ├─VolGroup-lv_root (dm-5) ext4                   5fe45bdc-a410-4a13-9242-c03a173568d5   /
    └─VolGroup-lv_swap (dm-6) swap                   d159f2ff-e924-4f07-b1f2-904ae0918293   [SWAP]



mkfs.ext4 /dev/mapper/mpathb
Code:
mke2fs 1.43-WIP (20-Jun-2013)
/dev/mapper/mpathb is apparently in use by the system; will not make a filesystem here!
 


Top