Diyelim ki netscalerinizin sata diski bozuldu yeni bir disk taktınız. Taktığınız sistemin netscalerın anlayacağı şekle çevirmek çevirmek için
netscaler ‘ a login olun
Login olduktan sonra shell ‘ e düşün
> shell
Copyright (c) 1992-2008 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
/flash/.recovery klasörüne giriyoruz
[email protected] cd /flash/.recovery
/flash/.recovery klasörüne içine bakalım
[email protected] /flash/.recovery# ls -la
total 66572
drwxrwxrwx 5 root wheel 512 Jun 4 2007 .
drwxr-xr-x 6 root wheel 512 Nov 18 20:33 ..
drwxrwxrwx 2 root wheel 512 May 1 2007 Xad2
drwxrwxrwx 2 root wheel 512 May 1 2007 Xflash
drwxrwxrwx 2 root wheel 512 May 1 2007 boot
-rw-rw-rw- 1 root wheel 68088012 May 1 2007 hd.recovery.tgz
-rw-rw-rw- 1 root wheel 4380 May 1 2007 rc.flash
-rw-rw-rw- 1 root wheel 3055 May 1 2007 rc.manufacture
-rw-rw-rw- 1 root wheel 6143 May 1 2007 rc.recovery
-rw-r--r-- 1 root wheel 1122 Nov 18 20:31 recovery.log
Manufacturing ad2 for 1200210 started at Mon Jun 4 17:05:32 GMT 2007
rc.recovery dosyasını çalışıtıyoruz.
[email protected] /flash/.recovery# sh rc.recovery
Recovery requested for disk ad2, system 940030
Attention! Attempt to 'recover' mounted disk ad2!
Please unmount the disk manually and then type 'exit'!
Filesystem Size Used Avail Capacity Mounted on
/dev/md0c 155M 145M 6.3M 96% /
devfs 1.0K 1.0K 0B 100% /dev
procfs 4.0K 4.0K 0B 100% /proc
/dev/ad0s1a 226M 192M 16M 92% /flash
/dev/ad2s1e 66G 749M 60G 1% /var
Unmount ad2>
ad2 diskini seçtiğimizde taktığımız diske formatlayıp eksik dosyaları atacaktır.
Recovery ad2 for 1200210 started at Mon Jun 4 17:05:32 GMT 2007
1+0 records in
1+0 records out
512 bytes transferred in 0.000106 secs (4825806 bytes/sec)
fdisk: WARNING line 2: number of cylinders (9964) may be out-of-range
(must be within 1-1024 for normal BIOS operation, unless the entire disk
is dedicated to FreeBSD)
New filesystems have been created
Using /flash/.recovery/hd.recovery.tgz for ad2s1e data recovery
/dev/ad2s1e 66G 68M 61G 0% /var
/dev/ad2s1a 1004M 126M 798M 14% /mnt
Recovery ad2 for 940030 started at Fri Nov 18 10:30:10 PST 2011
1+0 records in
1+0 records out
512 bytes transferred in 0.000431 secs (1187768 bytes/sec)
fdisk: WARNING line 2: number of cylinders (9964) may be out-of-range
(must be within 1-1024 for normal BIOS operation, unless the entire disk
is dedicated to FreeBSD)
New filesystems have been created
Using /flash/.recovery/hd.recovery.tgz for ad2s1e data recovery
/dev/ad2s1e 66G 69M 61G 0% /var
/dev/ad2s1a 1004M 128M 796M 14% /mnt