(verified 2010 Feb. / EOS 4.3.0 / DCS-7120T-4S 03.01)
Hardware info
[admin@localhost /]$ uname -a
Linux localhost 2.6.29.1.Ar-202763.EOS430Autotest #1 SMP PREEMPT Sun Nov 22 00:33:54 EST 2009 i686 athlon i386 GNU/Linux
[admin@localhost /]$
Autotest is the test tool of Linux kernel. This is almost one year's old version, I guess.
CPU is Athlon x64, dual core, 3600+ running with 1.8GHz
[admin@localhost /]$ cat /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 15
model : 107
model name : AMD Athlon(tm) 64 X2 Dual Core Processor 3600+
stepping : 2
cpu MHz : 1800.268
cache size : 512 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 2
apicid : 0
initial apicid : 0
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow pni cx16 lahf_lm cmp_legacy svm extapic cr8_legacy 3dnowprefetch
bogomips : 3600.53
clflush size : 64
power management: ts fid vid ttp tm stc 100mhzsteps
processor : 1
vendor_id : AuthenticAMD
(.....snip)
2GB memory it has.
[admin@localhost /]$ free
total used free shared buffers cached
Mem: 2055504 1134324 921180 0 103452 653724
-/+ buffers/cache: 377148 1678356
Swap: 0 0 0
[admin@localhost /]$
Device, File system
Looks very standard Linux box such as;
[admin@localhost flash]$ ls /
bin boot dev etc export home lib media mnt opt persist proc root sbin selinux srv sys tmp usr var
[admin@localhost flash]$
You can see the flash memory on /mnt/flash. Boot up parameter or some are here.
[admin@localhost flash]$ ls /mnt
flash flash-recover.conf flash.conf usb1 usb1.conf
[admin@localhost flash]$ ls -l /mnt/flash
total 157416
-rwxrwx--- 1 root eosadmin 161174379 Jan 26 08:20 EOS-4.3.0.swi
-rwxrwx--- 1 root eosadmin 25 Jan 26 08:20 boot-config
drwxrwx--- 2 root eosadmin 4096 Feb 6 12:15 debug
drwxrwx--- 2 root eosadmin 4096 Feb 6 12:15 persist
-rwxrwx--- 1 root eosadmin 1415 Feb 4 17:59 startup-config
[admin@localhost flash]$ cat /mnt/flash/boot-config
SWI=flash:/EOS-4.3.0.swi
[admin@localhost flash]$ head /mnt/flash/startup-config
! device: localhost (DCS-7120T-4S, EOS-4.3.0)
!
vlan 1
name vlan1
!
vlan 2
name vlan2
!
vlan 3
name vlan3
(.....snip)
.boot-image.swi
Flash diretcory has a copy of boot image itself as .boot-image.swi, it is hidden file.
[admin@localhost ~]$ ls -la /mnt/flash
total 314824
drwxrwx--- 5 root eosadmin 4096 Mar 13 08:07 .
drwxr-xr-x 3 root root 100 Mar 11 21:35 ..
-r-xr-x--- 1 root eosadmin 161174379 Jan 8 2010 .boot-image.swi <<< it is
drwxrwx--- 2 root eosadmin 4096 Jan 8 2010 .extensions
-rwxrwx--- 1 root eosadmin 161174379 Jan 26 08:20 EOS-4.3.0.swi <<< it is too
-rwxrwx--- 1 root eosadmin 25 Jan 26 08:20 boot-config
drwxrwx--- 2 root eosadmin 4096 Mar 11 21:36 debug
drwxrwx--- 2 root eosadmin 4096 Mar 11 21:35 persist
-rwxrwx--- 1 root eosadmin 1437 Mar 11 21:34 startup-config
[admin@localhost ~]$ cmp /mnt/flash/EOS-4.3.0.swi /mnt/flash/.boot-image.swi <<< the same
[admin@localhost ~]$
Currently, extensions directory is exist. But now empty.
[admin@localhost ~]$ ls -la /mnt/flash/.extensions/
total 8
drwxrwx--- 2 root eosadmin 4096 Jan 8 2010 .
drwxrwx--- 5 root eosadmin 4096 Mar 13 08:07 ..
[admin@localhost ~]$
Remount as read write mode
Initialy, root filesystem mounted as read only mode as follows;
none on / type aufs (ro,si=e0ba4725)
/tmp and some directories are "rw" mounted as follows;
bash-3.2# mount |grep /tmp
tmpfs on /tmp type tmpfs (rw,size=411104k)
tmpfs on /var/tmp type tmpfs (rw,size=411104k)
bash-3.2#
To change the mode of the root directory to "rw", use mount command like this.
# mount -o rw,remount /