我使用以下运行Ubuntu 11.10(内核3.0.0-12-服务器x86_64)的RAID 1配置接管了一个相当简单的服务器设置:
=> ctrl all show config
Smart Array P410i in Slot 0 (Embedded) (sn: removed)
array A (SAS, Unused Space: 1335535 MB)
logicaldrive 1 (279.4 GB, RAID 1, OK)
physicaldrive 1I:1:1 (port 1I:box 1:bay 1, SAS, 1 TB, OK)
physicaldrive 1I:1:2 (port 1I:box 1:bay 2, SAS, 1 TB, OK)
最初有两个300GB磁盘被1TB磁盘取代,我现在必须扩展逻辑卷以使用额外的空间.
但是,在尝试这样做时,我收到以下警告:
=> ctrl slot=0 ld 1 modify size=max
Warning: Extension may not be supported on certain operating systems.
Performing extension on these operating systems can cause data to
become inaccessible. See ACU documentation for details. Continue?
(y/n)
说是或者我是否有可能破坏文件系统/丢失数据?之后重新排列和扩展文件系统应该不是问题,因为我可以使服务器脱机并从gparted live disk启动.
这是使用中的RAID控制器的配置:
=> ctrl all show detail
Smart Array P410i in Slot 0 (Embedded)
Bus Interface: PCI
Slot: 0
Serial Number: removed
RAID 6 (ADG) Status: Disabled
Controller Status: OK
Hardware Revision: Rev C
Firmware Version: 5.12
Rebuild Priority: Medium
Expand Priority: Medium
Surface Scan Delay: 15 secs
Surface Scan Mode: Idle
Wait for Cache Room: Disabled
Surface Analysis Inconsistency Notification: Disabled
Post Prompt Timeout: 0 secs
Cache Board Present: False
Drive Write Cache: Disabled
SATA NCQ Supported: True
和分区表:
Number Start End Size Type File system Flags
1 1049kB 274GB 274GB primary ext4 boot
2 274GB 300GB 25.8GB extended
5 274GB 300GB 25.8GB logical linux-swap(v1)