freePBX ( centos 6.6 기반) 에 EMC san storage를 multipath 설정하여 사용중이었는데요
갑자기 파티션 마운트가 안되어 지푸라기라도 잡고자 문의 드립니다.
조언좀 부탁드립니다.
[root@v01 ~]# multipath -ll
v01 (36006016038b14900a8dec65bf853d401) dm-0 DGC,VRAID
size=42T features='1 queue_if_no_path' hwhandler='1 emc' wp=rw
|-+- policy='round-robin 0' prio=1 status=active
| `- 3:0:0:0 sda 8:0 active ready running
`-+- policy='round-robin 0' prio=0 status=enabled
`- 1:0:0:0 sdb 8:16 active ready running
[root@v01 ~]# mount /dev/mapper/v01 /data
mount: you must specify the filesystem type
Ȥ½Ã ½Å±Ôº¼·ý ÇÒ´çÀ̸é ÆÄÀϽýºÅÛ Æ÷¸äÀ» ¾²½Ã´ø º¼·ýÀ̸é /etc/fstab ¼³Á¤°ª¿¡¼ º¼·ý¿¡ ´ëÇÑ ÆÄÀϽýºÅÛ Á¤º¸È®ÀÎÈÄ º¹±¸ÀÛ¾÷ÀÌ ÇÊ¿äÇÕ´Ï´Ù
/dev/mapper/v01 /data xfs defaults 0 0
[root@v01 ~]# xfs_repair /dev/sda
xfs_repair: cannot open /dev/sda: Device or resource busy
[root@infracctv01 ~]# mount -a
mount: /dev/mapper/v01 already mounted or /data busy
df -h, xfs_repair -n /dev/mapper/v01
Filesystem Size Used Avail Use% Mounted on
/dev/md2 273G 178G 82G 69% /
tmpfs 63G 0 63G 0% /dev/shm
/dev/md0 283M 26M 242M 10% /boot
xfs_repair -n /dev/mapper/v01 ÀÌ´Â ÁøÇàÁßÀÌ´Ï °á°ú ³ª¿À¸é ´Ù½Ã ¸®Çõ帮°Ú½À´Ï´Ù. µµ¿ò Áּż °¨»çÇÕ´Ï´Ù.
¾îµð¼º»°Çµ¥ xfs´Â ÆÄÀϽýºÅÛ º¹±¸°¡ Èûµé´Ù´øµ¥
xfsÆÄÀϽýºÅÛÀ» ¾²´Ù°¡ µ¥ÀÌÅ͸¦ »ì·Áº» °æÇè¿¡ µû¸£¸é
ÀÎÅͳݿ¡ ³ª¿ÍÀÖ´Â xfsº¹±¸ ¸í·É¾î·Î º¹±¸ ½Ãµµ¸¦ ´Ù¾çÇÏ°Ô ½ÃµµÇß½À´Ï´Ù.
½Ã½ºÅÛ Àç½ÃÀÛµµ Çغ¸°í ´Ù¸¥½Ã½ºÅÛ¿¡ ºÙ¿©º¸·Á°í °í»ýÇصµ Àý´ë·Î ¾È ºÙ¾ú´Âµ¥
³Ê¹«³ª ¾îó±¸´Ï ¾ø°Ôµµ grub¼³Á¤ÀÌ ±úÁø °æ¿ì ¿´½À´Ï´Ù.
¾à 3-4ÀÏ °É·È½À´Ï´Ù....
¾²´Ùº¸´Ï... º°·Î µµ¿òÀÌ ¾ÈµÇ´Â°Í °°½À´Ï´Ù.
https://www.2cpu.co.kr/QnA/790176
Warning: WARNING: the kernel failed to re-read the partition table on /dev/sdc (Device or resource busy). As a result, it may not reflect all of your changes until after reboot.
Warning: WARNING: the kernel failed to re-read the partition table on /dev/sdd (Device or resource busy). As a result, it may not reflect all of your changes until after reboot.
device-mapper: remove ioctl on v01p3 failed: Device or resource busy
device-mapper: remove ioctl on v01p2 failed: Device or resource busy
device-mapper: remove ioctl on v01p1 failed: Device or resource busy
device-mapper: remove ioctl on v01p6 failed: Device or resource busy
device-mapper: remove ioctl on v01p5 failed: Device or resource busy
device-mapper: remove ioctl on v01p4 failed: Device or resource busy
4¹ø ¿ë·®µµ ÀÌ»óÇÏ°í ¾î¶»°Ô µÈ°ÇÁö ¸ð¸£°Ú³×¿ä LVM ¸¸ º¯°æÇصµ µÉ±î¿ä?
[root@localhost ~]# parted /dev/sdc
GNU Parted 2.1
Using /dev/sdc
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) p
Model: DGC VRAID (scsi)
Disk /dev/sdc: 46.2TB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End Size File system Name Flags
1 633MB 1706MB 1073MB raid
2 1707MB 2780MB 1073MB raid
3 2781MB 300GB 297GB raid
4 23.1TB 23.4TB 297GB raid
5 23.4TB 46.2TB 22.8TB lvm
(parted)
·Î±×¸¸ º¸°í ¸»¾¸µå¸®ÀÚ¸é
3¹ø°ú 4¹ø»çÀÌ¿¡ ¸Õ°¡ Çϳª ¾ø¾îÁø°Å °°½À´Ï´Ù.
3¹ø 300G¿¡¼ ¿£µåÇßÀ¸¸é 300¿¡¼ ½ÃÀÛÇؼ 23T±îÁö ³¡³ª´Â ±¸°£ÀÌ ¾ø¾î¿ä
¿¹½Ã) 4. 300GB 23.0TB 22.7TB raid
À§ device-mapper ¼ýÀÚµµ ¸ðµÎ 6°³Àε¥... 5°³¸¸ º¸À̴°͵µ ÀÌ»óÇÕ´Ï´Ù.
½ÇÁ¦ µå¶óÀ̺ê Çϳª°¡ Ç¥½Ã°¡ ¾ÈµÇ´Â°Í °°½À´Ï´Ù.