Özetle: 3X120 SSD Disk' i olan sunucuya CentOS + Solus kurulumu yapmıştık. Disk mount işlemini sistemi kurmadan önce yapmadığımız için şu an hdd kapasite sıkıntısı yaşıyoruz. Başlıktan ve özetten anladığınız üzere, diskleri mount etmem gerekiyor; mkfs komutunu denediğimde;
/dev/sdb is apparently in use by the system; will not make a filesystem here! ile karşılaşıyorum,
Bu sorunu nasıl çözebilirim acaba?
Bazı ekran çıktıları şöyle:
Teşekkürler.
fdisk -l | grep "Disk"
# fdisk -l | grep "Disk" Disk /dev/sdc: 120.0 GB, 120034123776 bytes Disk identifier: 0x00081ead Disk /dev/sdb: 120.0 GB, 120034123776 bytes Disk identifier: 0x000755a7 Disk /dev/sda: 120.0 GB, 120034123776 bytes Disk identifier: 0x00068df1 Disk /dev/md1: 21.0 GB, 20970405888 bytes Disk identifier: 0x00000000 Disk /dev/md2: 98.5 GB, 98520989696 bytes Disk identifier: 0x00000000
mkfs.ext3 /dev/sdb
# mkfs.ext3 /dev/sdb mke2fs 1.41.12 (17-May-2010) /dev/sdb is entire device, not just one partition! Proceed anyway? (y,n) y /dev/sdb is apparently in use by the system; will not make a filesystem here!
fdisk -l
# fdisk -l Disk /dev/sdc: 120.0 GB, 120034123776 bytes 255 heads, 63 sectors/track, 14593 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: 0x00081ead Device Boot Start End Blocks Id System /dev/sdc1 * 1 2550 20478976 fd Linux raid autodetect /dev/sdc2 2550 14528 96211968 fd Linux raid autodetect /dev/sdc3 14528 14593 523264 82 Linux swap / Solaris Disk /dev/sdb: 120.0 GB, 120034123776 bytes 255 heads, 63 sectors/track, 14593 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: 0x000755a7 Device Boot Start End Blocks Id System /dev/sdb1 * 1 2550 20478976 8e Linux LVM /dev/sdb2 2550 14528 96211968 fd Linux raid autodetect /dev/sdb3 14528 14593 523264 82 Linux swap / Solaris /dev/sdb4 14593 14593 2016+ 83 Linux Disk /dev/sda: 120.0 GB, 120034123776 bytes 255 heads, 63 sectors/track, 14593 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: 0x00068df1 Device Boot Start End Blocks Id System /dev/sda1 * 1 2550 20478976 fd Linux raid autodetect /dev/sda2 2550 14528 96211968 fd Linux raid autodetect /dev/sda3 14528 14593 523264 82 Linux swap / Solaris Disk /dev/md1: 21.0 GB, 20970405888 bytes 2 heads, 4 sectors/track, 5119728 cylinders Units = cylinders of 8 * 512 = 4096 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000 Disk /dev/md2: 98.5 GB, 98520989696 bytes 2 heads, 4 sectors/track, 24052976 cylinders Units = cylinders of 8 * 512 = 4096 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000
fdisk -l /dev/sda
# fdisk -l /dev/sda Disk /dev/sda: 120.0 GB, 120034123776 bytes 255 heads, 63 sectors/track, 14593 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: 0x00068df1 Device Boot Start End Blocks Id System /dev/sda1 * 1 2550 20478976 fd Linux raid autodetect /dev/sda2 2550 14528 96211968 fd Linux raid autodetect /dev/sda3 14528 14593 523264 82 Linux swap / Solaris
fdisk -l /dev/sdb
# fdisk -l /dev/sdb Disk /dev/sdb: 120.0 GB, 120034123776 bytes 255 heads, 63 sectors/track, 14593 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: 0x000755a7 Device Boot Start End Blocks Id System /dev/sdb1 * 1 2550 20478976 8e Linux LVM /dev/sdb2 2550 14528 96211968 fd Linux raid autodetect /dev/sdb3 14528 14593 523264 82 Linux swap / Solaris /dev/sdb4 14593 14593 2016+ 83 Linuxfdisk -l /dev/sdc
# fdisk -l /dev/sdc Disk /dev/sdc: 120.0 GB, 120034123776 bytes 255 heads, 63 sectors/track, 14593 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: 0x00081ead Device Boot Start End Blocks Id System /dev/sdc1 * 1 2550 20478976 fd Linux raid autodetect /dev/sdc2 2550 14528 96211968 fd Linux raid autodetect /dev/sdc3 14528 14593 523264 82 Linux swap / Solaris