首页 > linux, ubuntu > linux 分区错误

linux 分区错误

2014年3月7日 eric 发表评论 阅读评论

今天客服出去实施,发现客户的机器安装的RAID 卡属于软RAID,磁盘在Centos 5.9 系统里认出来的是很长的字符串。按照业务需求分区后发现剩下的分区分给 data 目录,在安装界面无法 分区下去,一直停留在格式化 data 数据盘分区。给我通电话后,我果断先让他把系统分区完,数据盘分区先部分,等进入系统后我远程来看问题。再他不分数据盘后系统正常安装完了跟我远程我发现的问题。

很长字符串为真实RAID卡认出的磁盘,实际的两个磁盘 为 /dev/sda /dev/sdb 是不能挂载操作的。上来我先给他 分区试试,结果报错:

WARNING: Re-reading the partition table failed with error 22: 无效的参数.
The kernel still uses the old table.

经过google 发现:

Run "kpartx -a" after FDISK is completed to add all partition mappings on the
newly-created multipath device -- EXAMPLE:

然后就用 kpartx -a参数执行 命令:

kpartx -a  /dev/mapper/ddf1_4c53492020202020808627c3000000004711471100001450

然后执行 ls /dev/mapper/
终于发现了

/dev/mapper/ddf1_4c53492020202020808627c3000000004711471100001450p7

刚才分出来的数据盘分区。

然后格式化:

  mkfs.ext3  /dev/mapper/ddf1_4c53492020202020808627c3000000004711471100001450p7

创建 LABEL:

      mkdir /data0
e2label /dev/mapper/ddf1_4c53492020202020808627c3000000004711471100001450p7  /data0

修改 /etc/fstab 实现自动挂载,添加:

 LABEL=/data0              /data0                    ext3    defaults        1 2

转载请注明:文章转载自:Eric's linux and nginx! (http://www.nginxs.com)
本文地址:http://www.nginxs.com/linux/515.html

分类: linux, ubuntu 标签: ,
  1. 2018年1月11日21:05 | #1

    prissammenligning Engelsk, http://forste-apotek-norge.life/triamterene.html , kjøp pris.

  2. 2018年1月11日21:42 | #2

    beställa Sverige, http://apotekvarerpanettet.life/amaryl.html , kapslar billiga.

  3. 2018年1月12日03:14 | #3

    Hi there colleagues, fastidious article and pleasant arguments commented
    at this place, I am really enjoying by these.

  4. 2018年1月12日16:25 | #4

    What’s up friends, its fantastic post on the topic of educationand
    entirely explained, keep it up all the time.

  5. 2018年1月14日13:21 | #5

    My family members every time say that I am wasting my time here at net, however I know I am getting
    knowledge daily by reading such nice posts.

  6. 2018年1月14日14:10 | #6

    online slots
    online casino
    casino games
    online slots
    casino games

  7. 2018年1月15日04:54 | #7

    It’s very easy to find out any topic on net as compared to textbooks, as
    I found this piece of writing at this web page.

  8. 2018年1月20日08:08 | #8

    It’s a pity you don’t have a donate button! I’d without a doubt donate to this fantastic blog!
    I suppose for now i’ll settle for bookmarking and adding your RSS feed to my Google account.
    I look forward to new updates and will share this website with my Facebook group.
    Chat soon!

  9. 2018年1月21日03:20 | #9

    free slots no download no registration
    casino games real money
    online casino bovada
    free slots vegas world
    casinos in us

  10. 2018年1月22日02:01 | #10

    My spouse and I stumbled over here different web
    page and thought I might as well check things out.
    I like what I see so now i’m following you. Look forward to
    going over your web page again.

  11. 2018年1月22日12:06 | #11

    payday loans
    payday loans
    payday loans online
    payday loans no credit check
    payday loans online

  12. 2018年1月24日12:36 | #12

    casino online
    online casino
    casino games
    casino online
    online casino

  13. 2018年1月27日15:22 | #13

    You have made some decent points there. I checked on the net for
    more information about the issue and found most individuals will go along with your views on this site.

  14. 2018年1月28日07:31 | #14

    Hello just wanted to give you a quick heads up. The words in your
    post seem to be running off the screen in Chrome.
    I’m not sure if this is a format issue or something to do with internet browser compatibility but I figured I’d post to let you know.
    The layout look great though! Hope you get the issue solved
    soon. Thanks

  15. 2018年1月31日04:16 | #15

    online casino gambling
    casino online free
    casinos online
    vegas casino games
    free online casino slots

  16. 2018年2月3日22:57 | #16

    I’m not sure why but this weblog is loading incredibly slow for me. Is anyone else having this issue or is it a problem on my end? I’ll check back later and see if the problem still exists.
    http://genericviasra.com

  17. BtiKRD23bus
    2018年2月4日09:17 | #17

    Кадастровые работы и технические планы в г. Краснодаре и г. Анапа.
    Решение любого вопроса по БТИ края. Оперативно.
    ——————————–
    [url=http://bit.ly/2rK4Ofc#9XXrX0E89w]чекистов 38 краснодар бти[/url]
    [url=http://bit.ly/2rJUgga#Fas2W74sfb]бти краснодар марченко юрий[/url]

  18. Asfalt93Cres
    2018年2月7日10:20 | #18

    благоустройство двора краснодар
    озеленение благоустройство города краснодара
    правила благоустройства города краснодара скачать
    комитет по благоустройству в краснодаре
    правила благоустройства территории муниципального образования город краснодар

    ———————-
    http://благоустройство-краснодар.рф/

  19. 2018年2月9日13:48 | #19

    Inquire if the tow truck has a contract with a police.

  20. 2018年2月9日18:12 | #20

    weight loss medications
    best weight loss pills
    weight loss pills for women
    diet pills
    weight loss drugs prescription

  21. 2018年2月10日06:56 | #21

    What a stuff of un-ambiguity and preserveness of valuable
    familiarity about unpredicted emotions.

  22. 2018年2月11日20:22 | #22

    best online casino no minimum deposit
    online casino real money
    beste norske online casino

  23. 2018年2月12日05:24 | #23

    Hi, аll the time i uѕed tо check website posts һere early in tһe break of ɗay,
    as i like to fіnd out more and more.

  24. 2018年2月13日04:27 | #24

    casino games roulette
    casino games slots free heart of vegas
    casino casino
    slot online
    online casino gambling

  25. 2018年2月13日22:50 | #25

    pills for cheap http://pharmacydiscounts.men buy cheap uk.

  26. 2018年2月14日15:37 | #26

    top rated free online casino games
    online casino no deposit bonus
    casino games free
    online casino
    casino online free

  27. 2018年2月15日02:23 | #27

    over the counter in canada http://onlinepharmacy.stream/ buying in singapore.

  28. 2018年2月15日23:54 | #28

    Help Writing an Argumentative Essay quyjxqeofmfs – 46538392

  29. 2018年2月17日06:44 | #29

    ©2018 Commercio Carpet Cleaning, all rights reserved.

  30. 2018年2月17日17:48 | #30
  31. 2018年2月18日00:27 | #31

    [url=http://navrcholu.eu/]http://navrcholu.eu/[/url] Mecezife, Palma Wei? Aktenschrank Buroschrank

  32. 2018年2月18日22:47 | #32

    Towing Miami is a household owned towing firm in Miami.

  33. 2018年2月20日07:08 | #33

    windows 10 ultra lite download
    microsoft online
    windows 10 employee discount

评论分页
1 ... 7 8 9 515
订阅评论
3+9= (必填)