No free sectors available

本文介绍在使用fdisk对LUN进行分区时遇到1号主分区已被占用或Nofreesectorsavailable错误的原因及背景。此类错误通常是因为LUN之前已被使用,导致磁盘空间无法再次分配。

在对一个新的LUN进行fdisk ,碰到1号主分区已经被用或者 No free sectors available 的错误,一般是原来用过这个LUN,      No free sectors available 的意思是没有磁盘分区可以使用,也就是整个磁盘已经划分并分配过了(也就是原来已经被使用过的) 。 


[root@mxrac01 etc]# fdisk  /dev/emcpowera 

The number of cylinders for this disk is set to 52339.
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): m
Command action
   a   toggle a bootable flag
   b   edit bsd disklabel
   c   toggle the dos compatibility flag
   d   delete a partition
   l   list known partition types
   m   print this menu
   n   add a new partition
   o   create a new empty DOS partition table
   p   print the partition table
   q   quit without saving changes
   s   create a new empty Sun disklabel
   t   change a partition's system id
   u   change display/entry units
   v   verify the partition table
   w   write table to disk and exit
   x   extra functionality (experts only)

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): q     

 

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/35489/viewspace-672825/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/35489/viewspace-672825/

评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符  | 博主筛选后可见
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值