View Single Post
  #3   (View Single Post)  
Old 20th May 2012
Mantazz Mantazz is offline
Shell Scout
 
Join Date: Oct 2008
Posts: 90
Default

I just repartitioned and reformatted the drive - or so I thought.

I started with gdisk (in FreeBSD) which made the 2.7 TiB partition without complaining. Wrote the table to the disk, and then attempted to format it. I installed 'e2fsprogs' to handle ext2/3/4 partitions and tried to format it as ext3:
Code:
# mkfs.ext3 /dev/da0s1
mke2fs 1.41.14 (22-Dec-2010)
Warning: could not erase sector 2: Attempt to write block from filesystem resulted in short write
Filesystem label=
OS type: FreeBSD
Block size=4096 (log=2)
Fragment size=4096 (log=2)
So this didn't look very promising, but I let it run with it. It completed with fewer problems than the very first time I attempted this, but that really isn't saying much. At the end it said:
Code:
Warning: could not read block 0: Attempt to read block from filesystem resulted in short read
Warning: could not erase sector 0: Attempt to write block from filesystem resulted in short write
Which wasn't promising. I tried to mount (supposedly) formatted partition:
Code:
e.
web# 
web# 
web# pwd
/home/lparsons
web# cd /mnt/
To find that I'm still not where I need to be.
I started gdisk again, and looked at the partition table on the disk to find ... nothing! I'm not sure why but for some reason the drive now shows no partitions (had the same problem earlier when I tried to do this with only ext2)

I'm thinking I might try ZFS now instead...
Reply With Quote