Archive for the 'Blogroll' Category

Linux??????????

June 12th, 2008 | Category: , , , , Blogroll, , Uncategorized

?????????????????Linux???????????????????????????????????????????????????????????????????????????????????????Linux?????????????????????

1?Ext2???????????
?Linux???Ext2??????????????????????????????1K?????????????????????????????????????????????????????12?????????????????????????????12????????12?????????????????????????????????256??????????Ext2fs???????4??????????????????1024/4=256?????????????????????????????????

2???????????
???Linux????????debugfs????????Ext2????????????????????????????????
???????????????????????????????????/usr???
mount –r –n –o remount /usr
-r?????????-n?????/etc/mtab??????/etc??????????????????xxx partion busy????fuser??????????????????????
fuser –v –m /usr
??????????????????????
fuser -k –v –m /usr
?????????????????
??????????????????/????????boot?????linux single????????????????????????????????????????????????????????/?????????????????????dos/windows????????????
mount –r –n /dev/hda1 /mnt/had
???????debugfs????Linux? /dev/hda5?
#debugfs /dev/hda5
????debugfs???debugfs?
??lsdel??????????????????
debugfs?lsdel
debugfs: 2692 deleted inodes found.
Inode Owner Mode Size Blocks Time deleted
164821 0 100600 8192 1/ 1 Sun May 13 19:22:46 2001
…………………………………………………………………………………
36137 0 100644 4 1/ 1 Tue Apr 24 10:11:15 2001
196829 0 100644 149500 38/ 38 Mon May 27 13:52:04 2001

debugfs:
?????????????2692???????????????????????????????????????????????????????????????????????????????????????????196829????
????????????
debugfs?stat
Inode: 196829 Type: regular Mode: 0644 Flags: 0×0 Version: 1
User: 0 Group: 0 Size: 149500
File ACL: 0 Directory ACL: 0
Links: 0 Blockcount: 38
Fragment: Address: 0 Number: 0 Size: 0
ctime: 0×31a9a574 — Mon May 27 13:52:04 2001
atime: 0×31a21dd1 — Tue May 21 20:47:29 2001
mtime: 0×313bf4d7 — Tue Mar 5 08:01:27 2001
dtime: 0×31a9a574 — Mon May 27 13:52:04 2001
BLOCKS:
594810 594811 594814 594815 594816 594817 ………………………………….
TOTAL: 38
??????dump???????
debugfs?dump /mnt/hda/01.sav
??????????????debugfs?
debugfs?quit
??????????inode?
debugfs?mi
Mode [0100644]
User ID [0]
Group ID [0]
Size [149500]
Creation time [0×31a9a574]
Modification time [0×31a9a574]
Access time [0×31a21dd1]
Deletion time [0×31a9a574] 0
Link count [0] 1
Block count [38]
File flags [0×0]
Reserved1 [0]
File acl [0]
Directory acl [0]
Fragment address [0]
Fragment number [0]
Fragment size [0]
Direct Block #0 [594810]
…………………………….
Triple Indirect Block [0]
??mi????????????????????????????????deletion time??0??????Link count??1??????debugfs?
debugfs?quit
???fsck??/dev/hda5
fsck /dev/hda5
???????????????lost+found????????????????????
Related Topics:

No comments

Oracle??????????????

May 24th, 2008 | Category: , , , , Blogroll, , Uncategorized

???????????????????????????????????????????????????????????????????????????????????????????

Oracle???????????????????????????

????????????????Oracle?????Oracle?????????????????

?????????????connect?resource???????????????

???????????(??????????)????????????????????

????????????????????????????????????????????????

?????????????????????

??????????????????(???????)??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????

????????????????????????????????????????????????????????????????????????????????????????????????SQL*PLUS???????????????????????????????????????????

???????????????????????????????????“??”????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????Oracle????????????????????????????????????????????????Oracle??????????????????
???????????? ????????… ???????? ????? ???????????? ????? ???????? ????????????????
??????????????????

??????xiayan??????????account.paytable(account??paytable????)??????????????????????xiayan?????????(?????checkerrole)??????????xiayan???????xiayan??????????????????xiayan???????????????????????Oracle?????????????connect???????defaultrole?

?????????SQL?

(1)??????????

CREATE ROLE checkerrole IDENTIFIEDBYxm361001; CREATE ROLE defaultrole IDENTIFIEDBYdefaultrole; GRANTSELECT,UPDATEONaccount.paytableTOcheckerrole; GRANTCONNECTTOdefaultrole;

(2)????

CREATEUSERxiayanIDENTIFIEDBYxiayan;

(3)??

GRANTcheckerroleTOxiayan; GRANTdefaultroleTOxiayan;

(4)?????????

ALTERUSERxiayanDEFAULTROLEdefaultrole;

(5)????

CONNECTxiayan/xiayan@Oracle

???????????????

(6)????

SETROLEcheckerroleIDENTIFIEDBYxm361001;

??????xiayan??checkerrole????

????????????????????????????????????????????

Related Topics:

No comments

Database Connectivity with ASP and ADO

May 10th, 2008 | Category: , , , , Blogroll, , Uncategorized

ASP uses a technology called ActiveX Data Objects (ADO) to work with databases. ADO is ActiveX technology which is built into the Internet Information Server (IIS). It is comprised of a number of objects which you can use. I will begin by explaining the “major players” briefly. There are 3 major objects which you should be aware of in ADO: the Command Object, the Connection Object, and the Recordset object. Most of the time, you will only have to work with the RecordSet object (arguably), but in certain cases, you may want to set properties in (or use) one or both of the other 2 objects. Whenever you perform a database operation, these 3 objects are present, but it isn’t necessary often to explicitly create all 3, as when one is used, the other 2 are implicitly created, even though you may not assign a variable to access them. The syntax for creating a variable to access these objects is (in VBScript) “[variable name] = Server.CreateObject(”ADODB.[object name]”)” The RecordSet Object The RecordSet object is basically a cursor (a temporary table which exists in memory) with some built-in functions and properties for working with the records contained in it. You can create a RecordSet object explicitly, or by executing a command through the Command Object. Some of the properties which you may use frequently are: BOF - Beginning of file EOF - End of file MaxRecords - Maximum number of records returned in a query RecordCount - The number of records in the RecordSet CursorType - Forward-only, static,dynamic, and keyset Some of the methods (functions) of the RecordSet object which you may be most likely to use are: Open - Open the Recordset Close - Close the RecordSet Move - Move to a specific record MoveFirst - Move to the first record MoveNext - Move forward one record Move Previous - Move backwards one record MoveLast - Move to the last record AddNew - Add a new record to the RecordSet Update - Update the current record The Command Object The Command Object is the workhorse of ADO. It is the object which commands the database, whether it’s issuing an SQL statement, or executing a stored procedure contained in the database itself. using the Command Object, you can create parameterized queries, which can be altered on the fly. You can change the query being issued, and change the properties of the Command Object itself. There are far less properties of a Command Object than a Recordset object. In fact, you’re only likely to use the following , if any: CommandText - The actual text of the command, such as a SQL statement ActiveConnection - The associated Connection Object. There are only 2 methods for a Command Object. They are: CreateParameter - Create a parameter for a query in the Parameters Collection Execute - Execute the Command The Command Object also has a collection called the Parameters Collection. This is where parameters are organized for parameterized queries. Parameters have properties as well, and can be accessed either by their position in the Parameters Collection (index), or by name. You can use parameters in your SQL statements by inserting question marks for each parameter used. The parameters must first be defined, and their values will be substituted in the query in the order they appear in the collection. If you wish to use parameterized queries, you might want to read up some more on this subject, but I don’t want to take all day. The Connection Object The Connection Object is the object which actually does the “talking” with the database. It defines the connection type, and properties too numerous to mention. It may contain a System DSN name which is used to identify the ODBC driver and path to the database. I may contain the physical path to the database. It can also store user name and password information which is used to gain access to a secure database. And it can fine-tune the connection in other ways as well. The Command Object and RecordSet object actually access the database through the Connection Object. However, it isn’t often necessary to use this object, as it can be implicitly created by the RecordSet Object (my favorite method), and the default values for the many properties are usually fine to work with. The single most important and most-often used property of the Connection Object is the ConnectionString property. If you have used IDC (Internet Database Connector) before, you’re familiar with identifying the System DSN. This is handled in the ConnectionString Property, as well as some other properties as well. The ConnectionString property is defined by a string of property definitions (name/value pairs) separated by semicolons. Here is an example: “DSN=jobs;DBQ=C:\AOL30A\download\San Diego Jobs\jobs.mdb;DriverId=25;FIL=MS Access;MaxBufferSize=512;PageTimeout=5;” You’ll notice that the System DSN is the first item identified, followed by the “DBQ” (the physical location of the database). Other properties are defined as well. This Connection String was “borrowed” from a global.asa file created automatically by Microsoft Visual InterDev. However, you’ll find that in the vast majority of cases, it isn’t necessary to define all of these (and/or more) properties of the Connection object. In fact, I’m going to show you a simple way to use ADO to do most of your routine database stuff, and you can forget most of what you’ve read here (unless you need to do something fancy). The following is a demonstration of some simple VBScript to execute a SELECT statement. You can even copy and paste this into your own ASP pages if you wish. We’ll begin with the assumption that the user has filled out a form containing a single field called “lastname.” They are looking up personnel records in a table called “personnel,” and want to find all records with a “lastname” field containing the name they’ve typed in in the form. A System DSN has been set up using the 32-Bit ODBC Driver Administrator, by the name of “mydsn.” If you’ve read my earlier articles about ASP, you remember that to obtain the value of a form field, you use the ASP Request.Form Object, and name the field. So, without any further ado, let us proceed with the code: A Simple ASP ADO SQL Query Set rs = Server.CreateObject(”ADODB.RecordSet”) param = Request.Form(”lastname”) q = “SELECT * FROM personnel WHERE lastname LIKE ‘” & param & “‘” rs.Open q, “DSN=mydsn;” if NOT rs.EOF then while NOT rs.EOF Response.Write rs(”firstname”) & ” ” & rs(”lastname”) & “
” rs.MoveNext wend end if A Simple Explanation of A Simple ASP ADO SQL Query Line 1. Create Recordset object Line 2. Place form field value in a variable named “param” Line 3. Define query by concatenating strings and variable value Line 4. Open RecordSet Object. Note that the first parameter is the Command Text. The second parameter is the Connection String. The Command Object and Connection Object are created implicitly. Line 5. Make sure the RecordSet isn’t empty Line 6. Begin executing a loop which goes through all records in the RecordSet. Line 7. Write each record’s “firstname” and “lastname” fields to the page on a separate line. Line 8. Move to Next Record. ???????? ????????
Related Topics:

No comments

SQL2000??????????

May 10th, 2008 | Category: , , , , Blogroll, , Uncategorized

??????SQL Server??????
??1.?SQL Server???????????????????????????->??????
??2.?? ????-???
???? ??? ?????
???????SQL Server??????????????????????(?????bak)
???? ???????
??????????
????????????????1M????????????Internet????
??3.??FTP??remote desktop??pcanywhere???
?????????????????????????????SQL Server?????????????
??4.??SQL Server????????????????????????
???????????????????????????->?????
????->???->????->??->??????????????????->??
???????->???-??
??????????????????????
??(????????SQL Server????????????????????????????????
?????? ->??->????->?/??->???????????->????????kill ???????????????)
?????????????SQL Server?????????(*.bak)??????????????????????????????????????????????
?????????????(*.bak)?????,???????????,?????????????(*.bak)???????????????
???????????????????????(*.bak)???????????????
????????SQL Server????
??1.???????????????????????,???Internet??????
?SQL Server????????????? ????????????->????-> ??????????/??????->???->????-> ??????SQL Server?Microfost OLE DB?????->???(??????????????SQL Server???,??????IP??)->????windows????????SQL Serve????(????????????)->???(???????SQL Server???????????????????)->???->????->?????SQL Server?Microfost OLE DB?????->???(?????????????????????????????????SQL Server???,??????IP??)->?????(???????SQL Server???????????????)->???->????????->????????????(??????????????????)->???->???????->??????????????->?????????(???????????)->??->???????????????????????????????????????????????????????????????????????????????????->??->???->?????????->??->???????????????????????????DTS????????->??(????)->[ ??DTS?(??????????????????????????????????????SQL Server???????????DTS????????)->???-> ]->??
???????->????????????????????->??
?????????????? ????????
??2.???????????????
?????????????????
???SQL Server?????????????????????????-> ????->??????????/??????->???->????-> ??????SQL Server?Microfost OLE DB?????->???(??????????????SQL Server???)->????windows????????SQL Serve????(????????????)->???(???????SQL Server???????????????)->???->????->??(????)-> ???(?????????????????????) ->???->????????->????????????(??????????????????)->???->????????->?(???????)->????????->????????????->???->?????????->??->????????????????????????????DTS????????->??(????)-> [??DTS?(????????DTS????????)->???->]->??
???????->??????????????????->??
?????????????1M????????????Internet????
??????FTP??remote desktop??pcanywhere????
?????????????????????????SQL Server?????????????
?????????????SQL Server???
?????????????SQL Server???????????????????????????????????
?????????
??SQL Server???????????sql??
?SQL Server??????->?????????->???->???????????->??->????????????sql?????SQL Server?????????????????sql??????????(?????????????????sql??????????????????????table_0113)
??????/????->??????????/??????->???->????-> ?????????->???(?????SQL Server???????????????????*.txt????????????????????????)->???->??????->????????->????????????->???->??????->??->???->????->??(??SQL Server?Microfost OLE DB????)->???(????????????????SQL Server???)-> ????windows????????SQL Serve????(????????????)->???(???????SQL Server???????????????)->???->???????->??????????????->??(????????) ->???->?????????->??->????????????????????????????DTS????????->??(????)-> [??DTS?(????????DTS????????)->???->]->??
???????->??????????????????->??
????????????????????table_0113??????????????????????table_old_0113?table_0113???table???????????????????????
??????????????????????????1?2????????????????????
???????not null??????????
??????????????????????????????????
????SQL Server????????????????
??1????????????????*.sql??
???SQL Server?????????????????->???????????????->???????->?????????????->???????????->??SQL??->??->?????????????????*.sql??->??->????SQL??->??
??2???????????????????????????FTP??remote desktop??pcanywhere?????1????*.sql??????SQL Server????????
??3?????????SQL Server?????????????->??->??????->???1????*.sql??->???????????????->???????????????????????????????????????????????????
???????????????*.sql???????????*.sql???
????ORACLE???????SQL Server???
??1????SQL Server?????????ORACLE Client????ORACLE ODBC Driver. ?$ORACLE_HOME\network\admin\tnsnames.ora???ORACLE??????(service name)?
????????????????:????????????
??2??WIN2000??win2003???->????->???(ODBC)->??DSN?????NT????????->??->ORACLE ODBC Driver->??->data source name ??????????ORACLE????sid???description????ORACLE?????????????->data source service name ??1????ORACLE?????->OK?
?????DSN???DSN????????????????????
??3?SQL Server???????????->????-> ???????ODBC?????->??2??ODBC??????DSN source name?????????ORACLE?????????->???->??????SQL Server??????????????????????????
??????ORACLE??SQL Server???’??’?????????????????????image->text,decimal->int
????SQL Server???????ORACLE???
?????.???????ODBC???????ORACLE???, ??ORACLE????????.????ORACLE?????????,???SQL SERVER???ORACLE????????.???????????.
?????.?SQL Server????????ORACLE????????Windows?ORACLE9i??????????????

????????… ????????????

Related Topics:

No comments

CIH???????????

May 08th, 2008 | Category: , , , , Blogroll, , Uncategorized

??????

??1?DOS?DOS????????????
??
??????????????????????????
??
????????MBR??MBR???????CYL 0?SIDE 0 ?SEC 1????????????????????FDISK/MBR???
??
???????CYL 0?SIDE 0 ?SEC 1-CYL 0?SIDE 0 ?SEC 63??62????
??
??????BOOT??CYL 0?SIDE 1 ?SEC 1 ????????DOS???????????
??
???????CYL 0?SIDE 0 ?SEC 1????FAT16???????????FAT32????32????
??
?????????????FAT??FAT12?FAT16???FAT?????0-1-2?FAT32???FAT??0-1-33?FAT????????????????????FAT??????????????FAT????????????????FAT2 ??????????
??
????????ROOT??????????????????ROOT???FAT2???
??
????????ROOT????????????
??
??2??????????
??
?????????????????????????????????????2???????1BE???80 ??????????????????????80??? ????????55 AA?????????????????????
??
???????MBR????????BOOT??????????????????????????????????????????????FAT????????????????????2?FAT????????????????????????????????????
??????
??
??1?FAT2?????????FAT2??FAT1?
??
??2?FAT2?????????????????????????????????????????????????????????????????????????????????????????????????FAT2???????????????????????FAT16?????FAT???????????????FAT??????????????????
??
???????????CIH?????????
??
????????????????????????CIH????????????????????????????????????????
??
??????????????
??
???????CIH????????????KV300 F10??????????????????MBR?
??
???????3??

??DISK1 ?WIN98?????DEBUG?
??
??DISK2?DISKEDIT????????????
??
??DISK3?DOS??CIH???
??
?????????????????????????SETUP????????????
??
??CLY 620 HEAD 128 PRECOMP 0 LANDZ 4959 SECTOR 63 MODE LBA?
??
????????????
??
??A?>C?
??
????Invalid drive specification
??FDISK/MBR?????????????????????????????????????C??????DISKEDIT????????Invalid media type reading DRIVER C,??????????DEBUG ?????, ??80?55aa???????????DISKEDIT??????READ ONLY? ?????CONFIGURATION?????????????????????
??
??????????????????????????C??????????????????????????????FAT2???????FAT2??FAT1??????DISKEDIT??DEBUG??????FIND OBJECT??? FAT?????????????CYL 0 SIDE68 SEC 14?0000H?F8 FF FF 0F ?FAT32??????FAT2?????????DISKEDIT????DEBUG????0000?F8 FF FF?
??
????????C??????????FIND???IOSYS?IO ?SYS?????????ROOT???????????C?\ ?????????ROOT?????????????CYL 0 ?SIDE 68 ?SEC 14????
??
??FAT1??????????????????????????????32???FAT1 ???CYL 0 SIDE1 SEC 33? ????ROOT ???????FAT????????FAT2?ROOT???????????????????FAT2??FAT1????DEBUG??DISKEDIT???????DEBUG????INT 25????????INT 26????????????????????-??DISKEDIT??MARK FAT2???COPY????WRITE?FAT1?
??
???????????????????BOOT??????NDD????????????????????????????NORTON Utilities ?????????????????FAT32??????????????????????????D???????????????????????NORTON Utilities??C????????????C????WHY??????????2????????????????????C??948M????D????95??????DOS ????????????????????26??????????????????????????????????????????????AUTORUN???CIH??????????????????????????????????????????????D?????????
??
???????D??????DOS??DEBUG???????55AA ????????????????????????????????????????????????????????????????????
??????
??
??1?????????????????????????????????????????
??
??2?KV300 F10???????????????????????????KV300 F10???????????????????
??
??3????????????:

???a????????????HD-MIRROR????

???b????????????

???c?????????????????????????????????C???????????????

???d?????????????????????????NORTON????????????D?\TEMP,??????????????????C???
??
?????????FAT2???????????C???????????????????FAT2??????????????????????????????
Related Topics:

No comments

trying to repair recover xfs filesystem after system crash

May 05th, 2008 | Category: , , , , Blogroll, , Uncategorized

A couple weeks ago my system powered down suddenly.  One XFS filesystem was
affected somehow and I have not been able to repair it with xfs_repair. 
xfs_repair immediately freezes when I run it and gives no output.  The same is
true for xfs_check.  xfs_info gives the following:

think# xfs_info -t /etc/fstab /usr/local
meta-data=/usr/local             isize=256    agcount=8, agsize=103950 blks
         =                       sectsz=512  
data     =                       bsize=4096   blocks=831600, imaxpct=25
         =                       sunit=0      swidth=0 blks, unwritten=0
naming   =version 2              bsize=4096  
log      =internal               bsize=4096   blocks=1200, version=1
         =                       sectsz=512   sunit=0 blks
realtime =none                   extsz=65536  blocks=0, rtextents=0

I have just upgraded to Linux kernel 2.4.21 patched with the latest xfs
1.3pre5 patch and xfsprogs 2.5.4

Below is the kernel output at boot time:

Aug  7 21:38:03 think kernel: XFS mounting filesystem ide0(3,4)
Aug  7 21:38:03 think kernel: Starting XFS recovery on filesystem: ide0(3,4)
(dev: 3/4)
Aug  7 21:38:03 think kernel:  printing eip:
Aug  7 21:38:03 think kernel: c01a58df
Aug  7 21:38:03 think kernel: Oops: 0000
Aug  7 21:38:03 think kernel: CPU:    0
Aug  7 21:38:03 think kernel: EIP:   
0010:[xlog_recover_do_reg_buffer+207/400] 
   Not tainted
Aug  7 21:38:03 think kernel: EFLAGS: 00010202
Aug  7 21:38:03 think kernel: eax: 00000100   ebx: 0000006a   ecx: 00000040 
 edx: d7ee2c60
Aug  7 21:38:03 think kernel: esi: 00000000   edi: d79ec500   ebp: 00000002 
 esp: d75dbb2c
Aug  7 21:38:03 think kernel: ds: 0018   es: 0018   ss: 0018
Aug  7 21:38:03 think kernel: Process mount (pid: 84, stackpage=d75db000)
Aug  7 21:38:03 think kernel: Stack: d7ee2d94 0000000a 0000006a 00002205
00001000 0000000a d7ee2d94 00000003 
Aug  7 21:38:03 think kernel:        d7ee2d80 d7a62540 00000000 00000000
c01a5fe
a d746ec00 d7ee2c60 d7a62540 
Aug  7 21:38:03 think kernel:        d7ee2d80 00002205 d7a78560 00000000
d746ec0
0 d7ee2c60 00000000 d7c89580 
Aug  7 21:38:03 think kernel: Call Trace:   
[xlog_recover_do_buffer_trans+602/8
16] [xlog_recover_do_trans+372/384] 
[xlog_recover_commit_trans+63/80] [xlog_recover_process_data+237/544]
[xlog_do_r
ecovery_pass+656/2784]
Aug  7 21:38:03 think kernel:   [fbcon_vbl_handler+160/176]
[xlog_do_log_recover
y+147/192] [xlog_do_recover+59/352] 
[xlog_recover+227/256] [xfs_log_mount+145/256] [xfs_mountfs+1664/3680]
Aug  7 21:38:03 think kernel:   [__down_failed+8/12]
[pagebuf_iostart+108/176] [
xfs_readsb+464/560] [xfs_setsize_buf
targ+61/128] [xfs_ioinit+30/64] [xfs_mount+718/1024]
Aug  7 21:38:03 think kernel:   [vfs_mount+67/80]
[linvfs_read_super+141/448] [a
lloc_super+58/352] [check_disk_chang
e+72/144] [get_sb_bdev+395/592] [get_fs_type+44/128]
Aug  7 21:38:03 think kernel:   [do_kern_mount+289/320]
[do_add_mount+147/400] [
do_mount+352/432] [copy_mount_option
s+121/208] [sys_mount+177/224] [system_call+51/56]
Aug  7 21:38:03 think kernel: 
Aug  7 21:38:03 think kernel: Code: f3 a5 a8 02 74 02 66 a5 a8 01 74 01 a4
ff 44
 24 1c 01 eb e9 

– 
COMPUTERBILD 15/03: Premium-e-mail-Dienste im Test
————————————————–
1. GMX TopMail - Platz 1 und Testsieger!
2. GMX ProMail - Platz 2 und Preis-Qualitätssieger!
3. Arcor - 4. web.de - 5. T-Online - 6. freenet.de - 7. daybyday - 8. e-Post

Related Articles:

No comments

????????????

May 04th, 2008 | Category: , , , , Blogroll, , Uncategorized

????????????
?2003?????????????????????Jefferson City Medical Group???JCMG????????????????????????????????????????????????????????????????????“????”??????????????????JCMG???????????????????????????????JCMG????????????????DR????????????????????????JCMG???????DR??? “?????????????????????”???????????Phil Hartman????“?????????????????????????????????????????????????????????????????????”??“??????????????????”JCMG????????????????????65???????
JCMG?EMR??????——A4 Health Systems?????????????????????????????????????????????????????
“?????????????????”Hartman????“????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????”
?????????????JCMG????????????????????????????????????????????????????????????????????——Integrated Solutions Group???JCMG??????????JCMG????500GB?HP ProLiant DL580 Windows??????????????????????????????
“???????????????????????”Hartman????
Integrated Solutions Group?NSI Software???DoubleTake???????JCMG???????HIPAA????????????????????T1?????????????PIX Firewall?????????????????????????????
“???????????”
????EMR??????JCMG????????HP SAN????????????????????????
????????DoubleTake????????????????Hartman????????????DoubleTake????????????????????10~15???
“??????????????????????1?7?/1?24???????????????????????????????????????”Hartman???
???Hartman?????????????????????????????????????????????????????????“??”?
“?????????1GB??????????????T1??????????????????????????????”Hartman???“???????????????——???????????????????????”
???Hartman????JCMG???????Symantec?LiveState????????HP????????????
“???????????????”Hartman????“????????????????????????????????????”
NSI????DoubleTake???
?????NSI????????DoubleTake??????????????????????????????????????????????——DoubleTake Application Manager.
????????DoubleTake?????????????Application Manager.???????????????????Exchange???SQL server??????????????????????????????
“???????????????????????”NSI???????????Bob Radebush???“??????DoubleTake????????????????????????????”


Related Articles:

No comments

Recovering Lost Data From Novell

May 04th, 2008 | Category: , , , , Blogroll, , Uncategorized

Recovering Deleted/Lost/Missing Data From Novell Servers
This paper discusses data loss from Novell server disks along with methods to recover and restore the lost data.
Effective recovery of lost data requires an understanding of data management techniques used by NetWare …quot; this includes understanding NetWare file systems and NetWare volume types. Basic awareness about various data loss scenarios along with NetWare’s built-in defense mechanisms against data loss is also required.
In instances of data loss, it is recommended that the affected server disk not be used further and be immediately disconnected…quot; the correct way to recover data from failed disks is to connect these disks to healthy working disks and initiate the recovery process from the healthy disks. Thorough knowledge on the connection of such disks is a must during a recovery process.
Finally, robust data recovery software is needed to ensure complete and effective recovery.
This document is a discussion on all of the above. A generic description about the working of data recovery software is also outlined, followed by a short case study (using Stellar Phoenix Novell) to help users better understand the recovery process. This document assumes that the reader has little or no knowledge of data recovery and only very basic knowledge of Operating Systems, hard disks and NetWare.
Table of Contents
Data Management in Novell NetWare
1.1 NetWare server disks and file systems
1.2 NetWare Volume types
1.3 How data gets lost
1.4 Data recovery methods provided by NetWare & its limitations
Setting up the hardware (for a recovery process)
2.1 Basic Do’s and Don’ts
2.2 Connecting IDE disks
2.3 Connecting SCSI disks
2.4 Finishing up
Using data recovery software (Stellar Phoenix Novell)
3.1 How data recovery software work
3.2 Case Study …quot; Using Stellar Phoenix Novell to recover data
3.2.1. How to recover deleted files
3.2.2. How to recover missing/lost NetWare partitions
3.2.3. How to recover compressed volumes
Conclusion

1. Data Management in Novell NetWare
1.1 NetWare server disks and File Systems
A NetWare server disk consists of 2 basic partitions. The first is a small MS-DOS partition used to boot the computer and then load the NetWare OS. The second partition contains the NetWare OS files.

Fig: Structure of NetWare server disk
The NetWare partition (shown in blue in the figure above) consists of 2 basic divisions: a Hot Fix Redirection Area and a Data Area.
The Hot Fix Redirection Area contains sectors which act as substitutes for bad sectors on the hard disk. Before writing data to the disk, NetWare verifies whether the target sectors are in good condition …quot; if they are not, the data is redirected to the sectors in the Hot Fix Area. The Hot Fix Area typically comprises 0.2 - 2% (user-specified) of the disk space. This area consists of two parts: one being a table which maps bad sectors in the data area to corresponding sectors in the Hot Fix Area, and the other comprising the actual sectors which act as substitutes for bad sectors.

Fig: Structure of a NetWare Partition and its Hot Fix Redirection Area
The Data Area consists of a Volume Table (which contains detailed information of the volumes such as name, size, block size, segmentation, and other details) and one or more logical Volumes. The first volume in any NetWare partition is the SYS Volume. Shown below is the Volume distribution in a typical server disk:

Fig: Distribution of Volumes on a server disk
The methods and data structures used to organize files on a Volume are known as its File System. NetWare file systems have evolved over time with NetWare 2.x using NWFS 286, NetWare 3.x and 4.x using NWFS 386, while NetWare 5.x and later uses the NSS (Novell Storage Services) file system.
NWFS
NWFS can be thought of as a modified FAT (MS-DOS/Windows) file system. It used to come in both 16-bit (NWFS 286) and 32-bit (NWFS 386) versions, and has now been superseded by the 64-bit NSS (Novell Storage Services) file system.
NetWare 4.x and earlier had volumes formatted to the NWFS file system which is similar to Microsoft’s FAT 32 file system. Distributed across a NetWare Volume are certain blocks which contain 2 important data structures that manage files and directories …quot; these are DET (Directory Entry Table) and FAT (File Allocation Table). This is similar to the Directory Table and File Allocation Table used in Microsoft’s FAT file system.
The DET contains a list of all files and directories in the volume including details such as name, size, attributes, and so on. The FAT is a table that contains information about where on the Volume various files are stored, which blocks they occupy, and so on …quot; all files can be located using the FAT. 2 copies each of the DET and FAT are maintained (for the sake of redundancy). The DET and FAT blocks are distributed throughout the Volume.

Fig: Structure of a NetWare Volume
In NWFS, the Directory entries are recorded in a Table, and the File Allocation entries are maintained using Linked Lists.
NSS
Unlike NWFS (which manages data using the DET and FAT), NSS is a Journaling file system. This means that any change made to a file, instead of being directly updated to the DET and FAT as in NWFS, is first logged in a journal before the actual change is made. Only the files metadata (data about the file such as name, size, location, and so on) is logged and not the actual file data. Therefore, if the disk crashes while some write processes are running, the OS knows which processes to redo on rebooting.
All structured data on a Volume formatted to NSS is organized using the B-Tree (Balanced Tree) algorithm. The B-Tree is a tree data structure and is very efficient for use in file systems and databases. Two of the B-Trees found in NSS are the Name Tree B-Tree which manages a Volume’s directory structure (analogous to the DET in NWFS) and the Beast B-Tree which manages all file’s metadata (analogous to the FAT in NWFS).
A B-Tree is very efficient with insertions and deletions which is why it is used in file systems and data bases
NSS v/s NWFS with respect to Data Safety and Protection
NSS is far superior to NWFS when it comes to data safety and protection
NSS NWFS
Error Correction Presence of journal simplifies error correction/recovery Entire volume must be scanned (VREPAIR) to determine errors
File Snapshot Backup of open files No such support available
Pool Snapshot Backup of block in current state No such support available
RAID Support Supports RAID 0,1,5,10,15 Supports RAID 0,1,10
Data Shredding
(Data Erasure) Permanent data removal
(overwriting over 7 passes) No such support available
1.2 NetWare Volume Types
Data storage in Novell servers can be optimized using configurations such as Compressed Volumes, Sub-allocated Volumes, and Segmented Volumes. Data recovery software usually recovers data in its raw form, as they appear on the disk, disregarding any of the above configurations they may be in. Thus, the recovery of such data back to its original form presents a problem. Before we look at how such configurations can be retained even after recovery, let us first understand how data is arranged in such volumes.
Compressed Volumes
Data Compression refers to the process of storing data in a format that requires less space than usual. Compressing data is the same as packing data …quot; reducing the amount of electronic ’space’ data takes up, and compressed data usually consumes 2 to 4 times fewer bits. Typically, it is infrequently used data which is automatically compressed to save space.
Methods of compressing data include replacing multiple blank spaces with a character count, or replacing redundant data with shorter stand-in ‘codes’.
Volumes can be compressed in NSS using the console command:
nss /Compression=(Volume Name) OR nss /Compression=all
Volume compression statistics can be viewed using the command:
CompScreen
Note: Volume compression is an irreversible process.
A listing of all Novell compression capabilities is available at: http://www.novell.com/documentation/nw65/index.html page=/documentation/nw65/nss_enu/data/bpwtq9o.html
Sub-allocated Volumes
Sub-allocated volumes are a new feature and have been implemented in NetWare 4.x to overcome the problem of wasted disk space. These volumes are different from regular Novell volumes because they are more of a ‘virtual’ volume …quot; one that is not ‘visible’, but exists nevertheless.
Sub-allocation refers to multiple file-endings sharing disk blocks. The data in a file is stored in the hard disk in multiple blocks, each block being a collection of sectors of standard size. There are, almost always, some unutilized sectors at the end of a file. These ‘under-allocated’ sectors of different files are combined together to form a separate ‘virtual’ volume.
For Example: Say, a volume stores data in blocks of 4 sectors, each sector having size = 512 bytes. Now, if there is a file containing 520 bytes of data, the first sector is entirely occupied and the remaining 8 bytes go into the second sector. This leaves 2 entire sectors unused. These unutilized sectors of different files are combined together to form a separate sub-allocated volume, thus saving space and optimizing data storage.

Fig: Space optimization using Sub-allocated volumes
The sub-allocated volume is virtual - it does not show up as a separate logical volume. It is internally used by the Operating System (NetWare 4.x) to optimize disk space utilization.
Sub-allocation was a useful feature in NWFS which uses 64K blocks. NSS, which uses 4K blocks, do not have much use for sub-allocation.
Segmented Volumes
Segmented volumes refer to volumes which have had their size increased by taking disk space from another area. This space is usually taken from another disk, resulting in the Volume existing in ’segments’ across different disks, and hence the name segmented volumes. Segmented volumes add flexibility and are particularly useful in cases of important volumes needing additional disk space. A volume may be spanned across as many as 32 hard disks.

Fig: Volume X is a segmented volume spanned across 3 hard disks
For Example: Say, a disk consists of 2 volumes, one of which is almost full up and needs additional space. NetWare uses a feature using which disk space, usually from a separate disk, can be added to an existing volume.
While Segmented Volumes do make for increased volume size, the downside is that the volume gets fragmented.
1.3 How data gets lost
Data loss can be just a click away and usually occurs when least expected. Some of the leading causes of data loss:

(Source: www.protect-data.com/information/statistics.html)
The biggest factor leading to data loss is hardware malfunction. Hard disks are mechanical devices and therefore fall victim to wear and tear …quot; estimates put the average life of a hard disk at 3 years and it’s easy to see why - picture a series of disk platters rotating at 10,000 times per minute (over a 150 times a second!) with disk heads moving over them, separated at submicron distances. The margin for error, for mechanical movements inside the disk, is minimal. Even slight vibrations can unsettle alignments, and dropping a disk to the floor can be thought of as a minor catastrophe …quot; in fact, Head/Media collisions account for a large percentage of hardware malfunctions. Add to this other factors such as settling of dust particles on magnetic surfaces, sudden temperature variations, electronic (circuit board) failures, Controller failures, power surges, etc and one can understand the relatively short life span of hard disks …quot; a hardware malfunction can occur at any time and is sometimes beyond the control of the user.
Human error (accidental deletion/format, incorrect usage of software, etc) and software malfunction (corruption by virulent software, configuration complexity, improper backups, etc) are other major factors leading to data loss. While virus attacks are an issue with other Operating Systems (most notably Windows), this is not much of an issue in NetWare.
1.4 Data safety methods provided by NetWare & its limitations
Although NWFS has limited data safety/protection methods, NSS comes with useful features some of which are:
Journaling -> This significantly reduces the number of errors that happen when an operation is interrupted unexpectedly (resulting from occurrences such as a power failure or system failure).

File Snapshot -> This feature allows transient copies of open files to be made. Taking advantage of this, backups of even open files are possible. This feature can be activated using the console command:
nss /FileCopyOnWrite=(Volume Name) OR nss /FileCopyOnWrite=all
For a complete description of this feature, visit:
http://www.novell.com/documentation/nw65/index.html page=/documentation/nw65/nss_enu/data/ajhv67e.html

Pool Snapshot -> This feature allows you to take a snapshot of a data pool as it exists, including open files. This can be helpful for backup, maintenance, and restoration of lost data.
A snapshot can be taken using the console command:
mm snap create (snappool)(datapool)(snapname)
A previously taken snapshot can be activated using the console command:
mm snap activate (snapname)
A more extensive list of Pool Snapshot capabilities is given at:
http://www.novell.com/documentation/nw65/index.html page=/documentation/nw65/nss_enu/data/br18vpz.html
Even though these features offer data safety up to a certain level, the one big limitation for these features above is that all backups are metadata-based only. This means that a data disaster on a big scale, with a files actual core data getting lost/deleted, cannot be resolved using these features. What is needed in such a scenario is a complete scan of the disk surface to look for deleted/missing entries. This can only be done by advanced data recovery software and is a must-use when the above methods fail.
2. Setting up the hardware (for a recovery process)
2.1 Basic Do’s and Don’ts
When data is seemingly ‘deleted’ from a disk, the actual data is not removed. Only the reference information of the file is modified so that the space that a file occupies on the disk is marked as ‘free-space’ and is made available for writing on. But until that space is actually overwritten by other data, the original data remains intact and is therefore recoverable.
Since ‘lost’ data being overwritten is a major concern, it is imperative that the volume containing lost data is not used at all. Even leaving the server on, without any activity, causes many tiny files to be written/updated every few seconds. This increases the chance of lost data being overwritten and reduces the possibility of total data recovery. Therefore, after any instance of data loss …quot; be it a single deleted file or a total disk failure …quot; it is preferable to disconnect the affected server disk.
Following episodes of data loss:
Do’s
Turn off the machine immediately
Disconnect the server disk
Don’ts
Never restart the machine in the hope that this will solve the problem …quot; a restart involves many files being generated which may result in overwriting of lost data which will in turn reduce the possibility of total data recovery
If you hear clicking/grinding noises coming from the storage media, then it is a hardware failure …quot; do not continue using the disk. It is preferable to disconnect the server disk immediately. In such cases, even data recovery software may not fully be able to recover lost data …quot; it needs to be turned over to data recovery specialists
If there is intense physical damage to the disk (such as a power surge resulting in smoke or sparks), do not experiment with the media …quot; this needs examination by experts
Do not, under any circumstances, open up the disk since exposing the platters may damage the disk beyond repair. The disk is to be opened up only as a last resort and that too by professionals working in a clean-room
If the data recovery software allows installation on NetWare, do not install the software on the Volume which is affected. While it is possible to install the software on a Volume other than the one which is affected, it is always preferable to connect the affected disk to a working disk and then install the recovery software to the working disk
The ideal method to recover lost data is to connect the affected disk to a healthy disk. Data recovery software is then installed on to the healthy disk after which the software detects and does a scan of the affected disk.
The following section describes the connection of the disks.
2.2 Connecting IDE disks
It is best not to involve the server disk for recovery software installation during a system recovery. It is recommended to install the software on a Windows OS ‘host’ disk, and then connect the affected server disk to it (to understand why, read section 3 labeled ‘Using Data Recovery Software’).
This section discusses the connection of IDE (also known as ATA) disks.
Disks with IDE interfaces can be connected as:
‘Slave’ on the Primary channel OR
Either ‘Master’ or ‘Slave’ on a secondary channel
This implies that the disk with lost data can be connected in any way to a working disk, as long as the system does not boot from the affected disk.
Configuring a disk to be either ‘Master’ or ‘Slave’ involves setting the jumper pins at the back of the hard disks.
This is what the back of a disk looks like:
IDE Cable Connector
One end of this connector goes into the back of the disk, and the other into the motherboard.
Jumper Pins
Out of the given sets of jumper pins, one of the sets needs to be ‘jumpered’ thus giving the disk its configuration. The diagram for the jumper pin configuration should be given in a sticker on the disk. If the failed disk is being connected on the primary channel, it needs to be connected in the ’slave’ configuration. Use tweezers to change the switch position. There is a notch that prevents incorrect insertion.
Power Cable Connector
The power cable goes in here.

This is what an IDE cable looks like:
Connecting disks to the cable
An IDE cable has one end connected to the motherboard, and the other end usually goes into the disk configured as ‘Master’. The working disk which has recovery software installed in it should be the ‘Master’. The plug in the middle usually has the disk configured as ‘Slave’. If connected in the primary channel, the damaged disk needs to be ‘jumpered’ to be a ‘Slave’ and then connected to this middle plug.

After the jumper pins have been set and IDE cable connected at the correct points, the disks need to be installed into its case …quot; simply screw in the disk to secure it to its case. The next step is to make sure that the computer accepts the disks.
2.3 Connecting SCSI Disks
While disks with IDE interfaces have gained popularity with home PC users because of their low cost, SCSI interface disks are common with servers and high performance workstations and/or peripherals. The most visible difference between IDE and SCSI disks is that a single SCSI adapter can handle as many as 7 or 15 devices at a time …quot; because of this, setting the Jumper Pins at the back of a SCSI disk are a little more complicated than behind an IDE disk.
In connecting SCSI disks appropriate jumper pins have to be set to assign SCSI ID’s, configure termination, etc. For data recovery purposes the only thing to remember while connecting the disks is to connect the SCSI disk with lost data as:
‘Slave’ on the Primary channel OR
Either ‘Master’ or ‘Slave’ on a secondary channel
This implies that the disk with lost data can be connected in any way to a working disk, as long as the system does not boot from the affected disk.
This is similar to disks with IDE interfaces (see above …quot; Connecting IDE disks - for connection details). The jumper pin setting information should be detailed in the sticker on the disk itself. After connecting the SCSI disk in the appropriate configuration, the next step is to make sure that the computer accepts the disks.
2.4 Finishing Up
The BIOS usually automatically detects new hardware - this is so because the disk detection feature is set to ‘AUTO’ by default. However, it is still better to enter the BIOS and confirm whether the appropriate disk channel(s) are set to ‘AUTO’.
There are different methods of entering the BIOS for different motherboards. It is usually done by pressing the ‘F2′ key or the ‘Delete’ key just after starting the computer (To find out the exact keystroke(s) to enter the BIOS, visit: http://www.numonics.com/support/bios.htm).
In the BIOS, navigate through the main menu and go the Hard Disk AutoDetect feature

In the Hard Disk setup window, make sure the channel that the disk is connected to, is set to ‘AUTO’. For Example: If the disk with lost data is a ’slave’ on the primary channel, make sure that this option is set to ‘AUTO’.

After making the necessary changes, remember to save changes before exiting BIOS.
3. Using Data Recovery Software (Stellar Phoenix Novell)
3.1 How data recovery software work
When a file is seemingly ‘deleted’ from a disk, the actual data is not removed. The only thing that is done is modification of the file’s entry in the directory table/tree such that the space on the disk that the file occupied is now labeled as free space. Thus, the file still exists on the disk - but the file system is blind to it. This is much like a house without an address - it exists, but there is simply no way to go to it. Permanent deletion occurs only after the file’s actual data is overwritten by other data.
Data recovery software, such as Stellar Phoenix Novell, take advantage of this fact and use it to recover lost data.
When a file is ‘deleted’, only the first few bytes of that files entry in the Directory Table/Tree are modified to make the file system recognize that file as deleted. Data Recovery software scan the Directory Table/Tree looking for modified entries which have been labeled as ‘deleted’. When it finds one, it verifies whether the clusters occupied by this file have been left untouched or whether the clusters have already been overwritten by a new file. If the clusters are still ‘free’ and have not been reallocated, then this file is recoverable. ????
This is the reason why an affected disk should be disconnected and not left running as tiny files keep getting generated/updated every few seconds, thus increasing the likelihood of crucial data getting overwritten …quot; it is easy to understand then, why even something as simple as a system restart could turn out to be catastrophic.
Sometimes, however, even the Directory Table/Tree may be corrupt or may have been overwritten. In such cases, data recovery software go into advanced mode and scan the disk cluster by cluster. When the software finds a file, it verifies whether that file’s entry exists in the Directory Table/Tree …quot; if it does, then the file is obviously ‘visible’ to users. However, if an existing file on the disk does not have an associated entry in the Directory Table/Tree, then it is considered to be a lost/missing entry and the software will display this as a ‘found’ file.
Thus, data can be recovered either by analyzing the Directory table/tree of a file system (to look for deleted files), or by doing a cluster by cluster search of the physical disk (to look for lost/missing files). These two options are given different names (like ‘Standard Search’ and ‘Advanced Search’) by different data recovery software.
The next section discusses the recovery process of deleted files and missing/lost NetWare partitions using Stellar Phoenix Novell.
Problems faced in recovering data from compressed/sub-allocated/segmented volumes:
Data recovered from volumes which are compressed, sub-allocated, or segmented presents a few problems.
Compressed Volumes
Data recovery software recover lost data exactly as it was stored in the disk, and the recovered data may be compressed. Data must be decompressed before it can be used. This gives rise to the problem of recovered data being unusable (because it is in a compressed format).
Sub-allocated Volumes
Sub-allocated Volumes are virtual and not ‘visible’. Since data recovery software do a physical scan on the hard disk, recovery of lost data from sub-allocated sections of a volume is a problem.
Segmented Volumes
Regular data recovery software can usually scan only one disk at a time, but segmented volumes may be spanned across multiple disks, which is what creates the difficulty in the recovery of segmented volumes.
Effective data recovery software for NetWare requires advanced modules to fully recover data from such volumes while at the same time maintaining the original configuration …quot; ensure that the data recovery software you purchase can recover data from all these volume types
3.2 Case Study …quot; Using Stellar Phoenix Novell to recover data
All data recovery software have a trial version available which lets users get a good approximation of how effective the software can be. The trial version scans the disk using both Standard and Advanced modes and displays a list of all recoverable data. However, the full version will be needed to actually restore/save that data.
If you have lost data to be recovered, try downloading Stellar Phoenix Novell from www.stellarinfo.com/netware-data-recovery.htm and then install the software to a healthy working hard disk with the Windows Operating System in it. Stellar Phoenix Novell is a win32 executable and needs to be installed to a Windows based disk.
Run setup.exe from among the downloaded files …quot; the software is installed, by default, to a Stellar folder in Program Files. Additionally, usual entries to the Programs group (Start -> Programs) and the Add/Remove Programs list (in Control Panel) are also made.
Note: Make sure you are logged in as administrator before initializing setup - the software installation requires local administrative rights in Windows NT/2000/XP. ????
The affected server disk should be connected to this ‘Windows’ disk as a secondary (for details, read Section 2: Setting up the hardware).
Running the software will display the user interface containing a Toolbar which contains all necessary buttons to operate the software, from initiating the recovery process to saving the lost data.
Limitation of Stellar Phoenix Novell: NetWare 6.5 and later has an optional Encrypted Volume Support (EVS) feature using which it is possible to encrypt data stored on any newly created volume (the SYS volume is the only volume that cannot have the EVS feature in it). This is done mostly for protection of data against theft. Although data in EVS volumes are in an encrypted format, they work seamlessly with all applications. To learn how to create an encrypted volume, visit: http://www.novell.com/documentation/nw65/index.html page=/documentation/nw65/nss_enu/data/bq2y6nb.htm.
Stellar Phoenix Novell cannot recover data from such encrypted volumes.
For further information on the workings of this software, read the product’s Knowledge Base articles at: http://stellarinfo.com/esupport/users/kb.php category_id=13
3.2.1. How to recover deleted files
NWFS
Click the Select Physical Disk button ( ) on the Toolbar to begin the recovery process. The software displays a list of all the hard disks it can detect, including the affected server disk. Select the server disk and then click OK to continue.

Select the NetWare partition

Select the Volume

The software looks for deleted entries in the selected volume and displays the result in a simple tree structure.

If the standard search fails to turn up the desired results, the software can be made to search in an advanced mode (read Section 3.1: How data recovery software work) by changing the Linking Mode to Contiguous (Tools->Change Linking Mode->Contiguous Mode).

Select any number of files to be recovered and then click the Recover Selected button to restore the data. Alternatively, clicking the Recover All button will recover all displayed files. (The Recover Selected/All feature is only activated in the full version …quot; it is not available in the trial version).
NSS
The steps are similar to the ones shown above. They are:
Select the physical disk

Select the NSS Pool

Select the Volume

The software looks for deleted entries in the selected volume and displays the result in a simple tree structure after which any number of files can be recovered.
3.2.2.How to recover missing/lost NetWare partitions
The process of recovering of missing/lost NetWare partitions is similar to the steps shown above in 3.1 How to recover deleted files. The one difference is that instead of specifying the Pool and/or Volume to recover, you need to choose the hard disk to recover from …quot; this is because the software will scan the entire disk to look for missing/lost NetWare partitions.
NWFS
Use the ‘Search NetWare Partition’ option and then select the physical disk which contains the lost/missing partition.

The software searches the selected disk for all partitions. Since the search is intensive, it may take some time to complete. After the search is over, the software will display a list of all found partitions

Select the partition which contains the missing/lost volume

Select the Volume from which data needs to be recovered

The software then analyses the volume’s data structures and file system attributes and displays the result in a simple tree structure after which any number of files may be recovered
NSS
The method of recovering missing/lost NSS Volumes is similar to the steps given above. Moreover, Stellar Phoenix Novell also has an additional feature in which NSS Pools can be searched for, and recovered.
Use the ‘Advanced Search for NSS Volumes’ or ‘Advanced Search for NSS Pools’ option and select the physical disk which contains the lost/missing Volume or Pool

The software does an intensive search and lists all the pools/volumes it can find

Select the Pool/Volume from which data needs to be recovered

The software analyses the relevant data structures and file system attributes and displays the result in a simple tree structure after which any number of files may be recovered
The steps laid out in the 2 sections above work for most Volume types, such as Segmented Volumes, Sub-allocated Volumes, etc and for most data loss events, such as Formatted Volumes, Re-partitioned Volumes, etc. However, recovery of compressed volumes is a slightly more complicated issue and is discussed in the next section.
3.2.3. How to recover compressed Volumes
(For NetWare 4.x and above)
If a Volume is given compression capability, then some data in the Volume will most likely be compressed. When such data is recovered, it is still in a compressed format and thus unusable. Thus, effective data recovery software need to have a decompression module in them to ensure full usability of the recovered data …quot; ensure that the recovery software you use has such a capability.
The use of recovery software’s decompression utility is illustrated by the following steps, as followed in Stellar Phoenix Novell:
Recover the compressed data using the steps followed in sections 3.1 or 3.2 …quot; you now have recovered compressed data on a hard disk different from the affected server disk

Connect the disk with the compressed data to a Novell client machine …quot; this machine now has the compressed data in it

Log on as an Administrator to the Novell client and upload the compressed data to a Novell server disk …quot; the server disk now has the compressed data.
Note: The compressed data should be uploaded to an NWFS Volume on the server

Shut the server down, disconnect the server disk and connect it as a secondary to the disk with Stellar Phoenix Novell installed in it

Run the software, select the volume with the compressed data and then run the software’s decompression utility on the compressed data (Tools -> Mark Compressed Files). The server disk’s compressed data is now decompressed

Reconnect the server disk back into the server machine and boot this machine up

The decompressed data can now be transferred from the server to any client machine
This process does require some patience but is safest and yields best results if done systematically.
Data recovery software, as with most other software, come with their own unique additional features to ease the recovery process. Stellar Phoenix Novell comes with utilities such as File Filter, File Mask, Save Scan, Event Log, Find, and so on to streamline and facilitate the recovery process.
4. Conclusion
The data recovery process for Novell server disks can be summarized briefly as:
Disconnect the server disk

Install the data recovery software to a healthy working disk and connect the affected server disk to this working disk

Run the software to detect the server disk and display all its partitions/volumes

Select the disk/volume from which to recover data from and begin the disk/volume analysis

After all recoverable files are displayed, select the file(s) to be recovered and then restore them
In conclusion, if the server disk is immediately disconnected after an episode of data loss then the chances of total data recovery is very high. Data is never truly lost unless it is overwritten, and it is users that control writing to the disk …quot; hence, salvaging data, even in the event of a total disk failure, is not difficult at all. All that needs to be followed is a systematic approach.
The best practice in protecting data is regularly taking backups. While most Operating Systems today do have built in backup tools, these are not truly extensive. It is always better to go in for genuine 3rd party software (there are many good applications available today), whose development is dedicated to the task of protecting data. Most backup software today are fully automated and keep taking regular backups on their own without any user intervention …quot; even if the disk completely crashes, the machine can be booted using the software’s disc (which contains the necessary boot files) after which the software accesses the backup and restores the system.
Other effective data protection practices are hardware configurations such as RAID, periodic usage of good system checker software, reduction of dust around the work area, monitoring hard disk’s for hardware faults (see Section 1.3: How data gets lost), effective cooling systems, updated anti-virus software, etc.
However, even backups (be it in the form of backup software or hardware configurations such as RAID) are not 100% foolproof and mishaps can occur in any situation. The only way to ensure complete data protection is a thorough knowledge of data storage and recovery processes …quot; this will provide users with small but extremely vital bits of information such as immediate disconnection of affected disks, connection of failed disks to healthy ones, recovery of data to safe locations, etc. Thus, in a nutshell, while data disasters may occur at any time, 100% data recovery is definitely possible.
Related Material:
To understand recovery of data even after it has been overwritten, read Gutmann’s paper at: www.cs.auckland.ac.nz/~pgut001/pubs/secure_del.html

Related Articles:

No comments