Port-vax archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Half the size



Carl Lowenstein wrote:
On Sun, Mar 23, 2008 at 5:33 PM, Christer Sandvik
<christer.sandvik%gmail.com@localhost> wrote:
Carl Lowenstein wrote:
 > On Sun, Mar 23, 2008 at 12:42 PM, Christer Sandvik
 > <christer.sandvik%gmail.com@localhost> wrote:
 >
 >> Carl Lowenstein wrote:
 >>  > On Sun, Mar 23, 2008 at 8:04 AM, Christer Sandvik
 >>  > <christer.sandvik%gmail.com@localhost> wrote:
 >>  >
 >>  >> Hello
 >>  >>
 >>  >>  I ran newfs on two RZ25-E disks but it created filesystems half the 
disk
 >>  >>  size which is not what is wanted. My experience of creating filesystems
 >>  >>  with newfs is small and could someone tell me which parameters would be
 >>  >>  used to correct this problem.
 >>  >>
 >>  >
 >>  > Is it possible that you are seeing a filesystem size in 1kB blocks
 >>  > while expecting to see one in 512B sectors?
 >>  >
 >>  >     carl
 >>  >
 >>  I ran df and it showed them as 200 MB which confirmed that so what's up?
 >>  Is there any chance parameters was left out?
 >>
 >>
 >
 > Doesn't newfs create file systems to fit disk partitions?  Did you
 > partition your disks?  Eventually I will get lost at knowing details
 > of netbsd, but this seems fairly fundamental.
 >
 >     carl
 Yes they do but maybe something have happened earlier, could an dd
 /dev/null to disk have damaged sectors which newfs writes to?


Well, yes.  dd /dev/null to disk will wipe out the partition
information.  I refreshed my memory to see that in the netBSD context,
the partition tables are built by disklabel(8).

    carl
So, running disklabel and then newfs will correct the problem and if not I should change? What is the limit of disksize for disklabel?

Christer


Home | Main Index | Thread Index | Old Index