"format: Command not found."

Status
Not open for further replies.

fluxnull

Cadet
Joined
Nov 29, 2012
Messages
8
Why is there no format command?

[root@freenas] ~# format

CORRECT>mformat (y|n|e|a)? no
format: Command not found.
[root@freenas] ~# which format
format: Command not found.
[root@freenas] ~# ls /usr/sbin
./ ftp-proxy* mtest* rtadvctl*
../ fwcontrol* mtree* rtadvd*
ac* gensnmptree* ndp* rtprio*
accton* getextattr* newsyslog* rtsold*
acpiconf* getfmac* nfscbd* sa*
acpidb* getpmac* nfsd* sendmail@
acpidump* gssd* nfsdumpstate* service*
adduser* gstat* nfsrevoke* services_mkdb*
amd* hlfsd* nfsuserd* setextattr*
amq* hoststat@ ngctl* setfib*
arp* i2c* nghook* setfmac*
asf* iasl* nologin* setfsmac*
authpf* idprio* ntp-keygen* setpmac*
boot0cfg* ifmcstat* ntpd* sicontrol*
bootparamd* inetd* ntpdate* smbmsg*
bootpef* iostat* ntpdc* snapinfo*
bootptest* ip6addrctl* ntptime* sntp*
bsnmpd* ipfwpcap* ntptrace* spkrtest*
burncd* jail* pciconf* spray*
callbootd* jexec* periodic* sshd*
cdcontrol* jls* pkg_add* swapinfo*
chkgrp* kbdcontrol* pkg_create* syslogd*
chown* kbdmap* pkg_delete* tcpdchk*
chroot* keyserv* pkg_info* tcpdmatch*
ckdist* kgmon* pkg_updating* tcpdrop*
clear_locks* kldxref* pkg_version* tcpdump*
cpucontrol* kstash* pmcannotate* timed*
crashinfo* ktutil* pmccontrol* timedc*
cron* lastlogin* pmcstat* traceroute*
daemon* lmcconfig* powerd* traceroute6*
dconschat* lockstat* procctl* trpt*
devinfo* lptcontrol* pstat* tzsetup*
digictl* l***tattr* purgestat@ uathload*
diskinfo* mailwrapper* pw* ugidfw*
dtrace* makefs* pwd_mkdb* uhsoctl*
dtruss* memcontrol* quot* usbconfig*
dumpcis* mergemaster* quotaoff* usbdump*
edquota* mfiutil* quotaon* vidcontrol*
extattrctl* mixer* rarpd* vidfont*
faithd* mk-amd-map* repquota* vipw*
fdcontrol* mld6query* rip6query* wake*
fdformat* mlxcontrol* rmextattr* watch*
fdread* mount_fusefs@ rmt* watchdog*
fdwrite* mount_ntfs-fuse@ rmuser* watchdogd*
fifolog_create* mount_portalfs* route6d* wire-test*
fifolog_reader* mount_smbfs* rpc.lockd* zdb*
fifolog_writer* mountd* rpc.statd* zdump*
fixmount* moused* rpc.umntall* zic*
flowctl* mptable* rpcbind* zzz*
fsinfo* mptutil* rrenumd*
[root@freenas] ~#
 

jgreco

Resident Grinch
Joined
May 29, 2011
Messages
18,680
Why would there be a format command?

You don't expect to get a helpful answer with such a question, do you?
 

ben

FreeNAS GUI Developer
Joined
May 24, 2011
Messages
373
FreeNAS creates volumes formatted as they need to be. If you need to zero a disk, you can do it manually or through the GUI.

So, to clarify: What is the problem you're trying to solve?
 

fluxnull

Cadet
Joined
Nov 29, 2012
Messages
8

jgreco

Resident Grinch
Joined
May 29, 2011
Messages
18,680
"camcontrol devlist" is generally suitable for acquiring the list of devices, as well as just going into the GUI under storage and asking it to list the disks.
 

fluxnull

Cadet
Joined
Nov 29, 2012
Messages
8
Thank you for the command it worked. Additionally I was seeing in view disks there are two disks ending with the <diskname>p2.n0p what are these? I rebuilt my Freenas box last night and again I have two the two p2.n0p disks. I checked in the volume manager and theres they don't appear there. When I run zpool status in the shell they dont show there.
 

paleoN

Wizard
Joined
Apr 22, 2012
Messages
1,403
It's how to get the disks to use 4K formatting as most lie about their sector sizes. You don't see this with the initial mirror as it gets exported/imported and destroys the .nop device during the process. FreeNAS can't assume you aren't using the initial mirror afterwards and the .nops stick around until a reboot.
 
Status
Not open for further replies.
Top