亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費注冊 查看新帖 |

Chinaunix

  平臺 論壇 博客 文庫
12下一頁
最近訪問板塊 發(fā)新帖
查看: 1974 | 回復(fù): 11
打印 上一主題 下一主題

AS4中設(shè)備文件的困惑 [復(fù)制鏈接]

論壇徽章:
0
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報告]
發(fā)表于 2006-08-05 23:12 |只看該作者 |倒序瀏覽
同樣是AS4版本,為什么其的設(shè)備文件名稱不一樣

之前做過一次 i386
/dev/cciss/c0d0  第一塊硬盤
/dev/cciss/c0d1 第二塊硬盤

現(xiàn)在做的系統(tǒng) ia64
/dev/sda 第一塊硬盤
/dev/sdb 第二塊硬盤

現(xiàn)在很怪,不讓我分區(qū),且df 時可以見到兩個分區(qū),用fdisk看時切只有一個分區(qū),

[root@oramain ~]# df -k
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sda2             20158332  10697108   8437224  56% /
/dev/sda1               102168      5524     96644   6% /boot/efi
none                   1021168         0   1021168   0% /dev/shm
[root@oramain ~]# fdisk /dev/sda

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


The number of cylinders for this disk is set to 17849.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): p

Disk /dev/sda: 146.8 GB, 146815737856 bytes
255 heads, 63 sectors/track, 17849 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1       17850   143374743+  ee  EFI GPT

Command (m for help):  p

Disk /dev/sda: 146.8 GB, 146815737856 bytes
255 heads, 63 sectors/track, 17849 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1       17850   143374743+  ee  EFI GPT

Command (m for help):

[ 本帖最后由 bitao 于 2006-8-5 23:38 編輯 ]

論壇徽章:
0
2 [報告]
發(fā)表于 2006-08-05 23:16 |只看該作者
分區(qū)時輸出信息如下,第二塊盤也是這樣,請問是什么原因??

Command (m for help): n
Command action
   e   extended
   p   primary partition (1-4)
e
Partition number (1-4): 1
Partition 1 is already defined.  Delete it before re-adding it.

Command (m for help): n
Command action
   e   extended
   p   primary partition (1-4)
2
Invalid partition number for type `2'
Command action
   e   extended
   p   primary partition (1-4)
e
Partition number (1-4): 2
No free sectors available

Command (m for help): n
Command action
   e   extended
   p   primary partition (1-4)
e
Partition number (1-4): 3
No free sectors available

Command (m for help): n
Command action
   e   extended
   p   primary partition (1-4)
e
Partition number (1-4): 4
No free sectors available

Command (m for help): n
Command action
   e   extended
   p   primary partition (1-4)
e
Partition number (1-4): 5
Value out of range.
Partition number (1-4): 1
Partition 1 is already defined.  Delete it before re-adding it.

Command (m for help): n
Command action
   e   extended
   p   primary partition (1-4)
p
Partition number (1-4): 1
Partition 1 is already defined.  Delete it before re-adding it.

Command (m for help): n
Command action
   e   extended
   p   primary partition (1-4)
p
Partition number (1-4): 2
No free sectors available

Command (m for help): n
Command action
   e   extended
   p   primary partition (1-4)
p
Partition number (1-4): 3
No free sectors available

Command (m for help): n
Command action
   e   extended
   p   primary partition (1-4)
p
Partition number (1-4): 5
Value out of range.
Partition number (1-4):

論壇徽章:
0
3 [報告]
發(fā)表于 2006-08-06 11:11 |只看該作者
ding....

論壇徽章:
0
4 [報告]
發(fā)表于 2006-08-06 13:03 |只看該作者
使用 GUID Partition table 格式的話,你不可以用傳統(tǒng) fdisk,請改用你系統(tǒng)的 GNU 的 parted 吧。用 parted 程式去看看。

http://en.wikipedia.org/wiki/GUID_Partition_Table

==

論壇徽章:
0
5 [報告]
發(fā)表于 2006-08-06 13:47 |只看該作者
原帖由 bitao 于 2006-8-5 23:12 發(fā)表
同樣是AS4版本,為什么其的設(shè)備文件名稱不一樣

之前做過一次 i386
/dev/cciss/c0d0  第一塊硬盤
/dev/cciss/c0d1 第二塊硬盤

現(xiàn)在做的系統(tǒng) ia64
/dev/sda 第一塊硬盤
/dev/sdb 第二塊硬盤

現(xiàn)在很怪 ...


as4從沒有/dev/cciss/c0d0  這樣的設(shè)備名,這是solaris或BSD用的

[ 本帖最后由 paub 于 2006-8-6 13:50 編輯 ]

論壇徽章:
0
6 [報告]
發(fā)表于 2006-08-06 14:05 |只看該作者
原帖由 paub 于 2006-8-6 13:47 發(fā)表
as4從沒有/dev/cciss/c0d0  這樣的設(shè)備名,這是solaris或BSD用的


非也,linux 本來就有該命名方式。

詳見 linux kernel device 命名文件。

http://www.lanana.org/docs/device-list/devices-2.6+.txt

==

[ 本帖最后由 kenduest 于 2006-8-6 14:07 編輯 ]

論壇徽章:
0
7 [報告]
發(fā)表于 2006-08-06 22:55 |只看該作者
原帖由 paub 于 2006-8-6 13:47 發(fā)表


as4從沒有/dev/cciss/c0d0  這樣的設(shè)備名,這是solaris或BSD用的



搞笑,不懂不要亂說, cciss 是HP所有的內(nèi)含陣列卡在linux中的表示,從compaq時代就有了.

linux的kernel很早開始支持compaq/HP的陣列卡, 在這樣的服務(wù)器上,你用fdisk -l是看不到硬盤的,如LZ所說, 硬盤應(yīng)該是 /dev/cciss/cXdX   c代表控制器,d代表硬盤(或LUN)

分區(qū)應(yīng)該是 /dev/cciss/cXdXpX  p=partition.

回過來回答樓主的問題,恕我直言,你對linux根本不是很熟, 你在IA32的HP Proliant 的分區(qū)方法,拿到HP 安騰服務(wù)上來同樣操作當(dāng)然不行.

你的IA64沒有SmartArray cciss控制器,服務(wù)器里面硬盤是直接連在SCSI控制器上的,所以你當(dāng)然應(yīng)該只能看到 /dev/sdX 這樣的硬盤表示.

df -k 看到前面的兩個分區(qū),你看到的那個/boot/efi 是IA64 安騰服務(wù)器專門的引導(dǎo)分區(qū),EFI是Intel的技術(shù),功能比BIOS強(qiáng)大的多,號稱未來取代掉BIOS.

在IA64安騰上分區(qū),你需要用parted來做, fdisk/sfdisk 不能用的.

既然買了hp的設(shè)備,有問題第一的應(yīng)該找hp的resource,這個才是正常的process.

論壇徽章:
0
8 [報告]
發(fā)表于 2006-08-06 23:12 |只看該作者
對LINUX確實是不熟悉

只用過幾次

各位的見解讓我大開眼界,,謝謝啦

論壇徽章:
0
9 [報告]
發(fā)表于 2006-08-07 09:16 |只看該作者
問多一個問題

我用PARTED怎樣劃分一個區(qū)出來做LVM,但又不做成文件系統(tǒng),準(zhǔn)備做裸設(shè)備來放數(shù)據(jù)庫

用了下面命令,但結(jié)果滿足不了要求

parted /dev/sdb

mkpart primary ext3 2 20000

set 1 lvm on

論壇徽章:
0
10 [報告]
發(fā)表于 2006-08-07 09:24 |只看該作者
原帖由 bitao 于 2006-8-7 09:16 發(fā)表
問多一個問題

我用PARTED怎樣劃分一個區(qū)出來做LVM,但又不做成文件系統(tǒng),準(zhǔn)備做裸設(shè)備來放數(shù)據(jù)庫

用了下面命令,但結(jié)果滿足不了要求

parted /dev/sdb

mkpart primary ext3 2 20000

set 1 lvm on



這個過程不能完成還是順利完成了?

做好這個之后,你還得做 pvcreate  /dev/sdb1
然后vgcreate rawvg /dev/sdb1
然后lvcreate rawlv -l xxxxxxx   rawvg
然后 修改 rawtab,把 raw1 map到 /dev/rawvg/rawlv
然后起raw service

understand?
您需要登錄后才可以回帖 登錄 | 注冊

本版積分規(guī)則 發(fā)表回復(fù)

  

北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報專區(qū)
中國互聯(lián)網(wǎng)協(xié)會會員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP