![]() | Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition | ||
|
|
![]() |
||||||||||||||
Solution Type Technical Instruction Sure Solution 1673263.1 : How to Set Up the Hard Drive on an Acme Packet 4500 or 3800
In this Document
Applies to:Acme Packet 4500 - Version S-Cx6.0.x and laterAcme Packet 3820 - Version S-Cx6.0.x and later Acme Packet OS GoalWhen replacing a hard drive in a system, or in order to erase all data on a drive and start over, this procedure is necessary. Also included here is an additional step to create a directory specifically for CDR storage. This is not required, but is often helpful to separate these files from the others on the drive. SolutionBEFORE YOU BEGIN: Formatting a hard drive in any release should be an offline activity. Through the console connection the customer should: 1. back up the config, Also, the please close any other open connections and cease any other connections to the box such as SSH scripts. Setting up Hard-drive on Acme Packets 4500
1. Format the hard-drive av450001sda# format hard-disk
WARNING: Please ensure device is not currently in use by any applications before proceeding
Continue [y/n]?: y
Use factory default partitions [y/n]?: n Enter the number of partitions to create: 2
Total unallocated space = 100 % Enter the name of volume 1 (or 'q' to quit): app Enter the size of the volume (in %): 80
Total unallocated space = 20 % Enter the name of volume 2 (or 'q' to quit): sys Enter the size of the volume (in %): 20
The following partitions will be created: /app 400086289612 bytes
/sys 100021572403 bytes
Format disk and create the partitions as configured above [y/n]?: y
****************************************************** WARNING: All data on the drive will be permanently erased and unrecoverable.
Are you sure [y/n]?: y
The format process will take a few minutes. Once the format process begins, it cannot be stopped. Please do not power down or reboot the SD until the format process is complete.
Continue [y/n]?: y
*** Beginning format process ***
*** Removing previous partitions - please wait ***
/sata synced and unmounted
*** Creating new partitions - please wait ***
Instantiating /ahci00 as rawFs, device = 0x90001 Instantiating /app as rawFs, device = 0xc0001 Instantiating /sys as rawFs, device = 0xd0001
*** Begin format of volume /app - please wait ***
Formatting /app for DOSFS Instantiating /app as rawFs, device = 0xc0001 Formatting...Retrieved old volume params with %38 confidence: Volume Parameters: FAT type: FAT32, sectors per cluster 0 0 FAT copies, 0 clusters, 0 sectors per FAT Sectors reserved 0, hidden 0, FAT sectors 0 Root dir entries 0, sysId (null) , serial number 278a0000 Label:" " ... Disk with 781418925 sectors of 512 bytes will be formatted with: Volume Parameters: FAT type: FAT32, sectors per cluster 16 2 FAT copies, 48790982 clusters, 381553 sectors per FAT Sectors reserved 32, hidden 63, FAT sectors 763106 Root dir entries 0, sysId VX5DOS32, serial number 278a0000 Label:"/app " ...
Task 'tAhciSv002' [0x2f67aa4] has been deleted! OK.
*** Begin format of volume /sys - please wait ***
Formatting /sys for DOSFS Instantiating /sys as rawFs, device = 0xd0001 Formatting...Retrieved old volume params with %38 confidence: Volume Parameters: FAT type: FAT32, sectors per cluster 0 0 FAT copies, 0 clusters, 0 sectors per FAT Sectors reserved 0, hidden 0, FAT sectors 0 Root dir entries 0, sysId (null) , serial number c3f90000 Label:" " ... Disk with 195354180 sectors of 512 bytes will be formatted with: Volume Parameters: FAT type: FAT32, sectors per cluster 16 2 FAT copies, 12197706 clusters, 95388 sectors per FAT Sectors reserved 32, hidden 63, FAT sectors 190776 Root dir entries 0, sysId VX5DOS32, serial number c3f90000 Label:"/sys " ... OK.
Format finished successfully New partitions have been created av450001sda# av450001sda# av450001sda#
2. Create /cdr directory in the /app partition In this step we will have to create "cdr" directory on /app partition for the 4500s to put the /app/cdr path in the account-config. This is where the CDRs will be stored.
You can create the "cdr" directory on /app using FTP. Example is below: C:\Documents and Settings\BPatel>ftp 192.20.200.175 Connected to 192.20.200.175. 220 av450001sda FTP server (VxWorks 6.4) ready. User (192.20.200.175:(none)): user 331 Password required for user. Password: 230 User user logged in. ftp> cd /app 250 CWD command successful. ftp> dir 200 PORT command successful. 150 Opening ASCII mode data connection for 'file list'. size date time name -------- ------ ------ -------- 0 Nov-02-2009 18:28:52 tmp.dat
226 Transfer complete. ftp: 148 bytes received in 0.00Seconds 148000.00Kbytes/sec. ftp> mkdir cdr 257 MKD command successful. ftp> bye
3. Boot the system and verify the hard-disk partitioning
Type # reboot
After the system comes back up, make sure all the partition information is in there. You can run below command to verify. av450001sda# show space hard-disk
/app: 399695708160/399695762944 bytes (99%) remaining
/sys: 99923599360/99923646464 bytes (99%) remaining av450001sda#
Attachments This solution has no attachment |
||||||||||||||
|