I ran into an interesting problem. I got the last two disks for my 8 250GB disk RAID 5 array yesterday and when I went to create the partition, fdisk freaked refused to make it the total size of the array. Instead it came back with my request to create a partition of 2147483647 sectors, which I really didn’t request. Near as I can figure, something in fdisk’s programming won’t let you create anything bigger than that (that just happens to be the largest signed integer size in c, so I think it could just be a programming issue). To get around it, I was told to use disklabel -w -B da0 to create the partitions, and then newfs /dev/da0a to make my new file system. It worked wonderfully too…

neontetra# df -h

Filesystem    Size   Used  Avail Capacity  Mounted on

/dev/ad0s1a   496M    58M   398M    13%    /

devfs         1.0K   1.0K     0B   100%    /dev

/dev/ad0s1d   496M   8.0K   456M     0%    /tmp

/dev/ad0s1f    18G   3.3G    14G    19%    /usr

/dev/ad0s1e    15G    10M    14G     0%    /var

/dev/da0a   1.5T   55G   1.4T   4%    /usr1

Author: Ian

Share This Post On

Submit a Comment

Your email address will not be published. Required fields are marked *