Sponsored Content
The Lounge What is on Your Mind? Under Consideration: Migrate the Forums to Discourse Post 303045010 by Neo on Tuesday 10th of March 2020 10:15:50 PM
Old 03-10-2020
Yeah... first test run migration is done:

Code:
Creating Permalink File...


updating banned users
     2259 / 3134 ( 72.1%)  Not found: 302148143
     2316 / 3134 ( 73.9%)  Not found: 302147997
     2444 / 3134 ( 78.0%)  Not found: 302147691
     2578 / 3134 ( 82.3%)  Not found: 302153403
     2580 / 3134 ( 82.3%)  Not found: 302153629
     3018 / 3134 ( 96.3%)  Not found: 302180317
     3025 / 3134 ( 96.5%)  Not found: 302180659
     3026 / 3134 ( 96.6%)  Not found: 302180687
     3034 / 3134 ( 96.8%)  Not found: 302180878
     3053 / 3134 ( 97.4%)  Not found: 302181312
     3056 / 3134 ( 97.5%)  Not found: 302181310
     3062 / 3134 ( 97.7%)  Not found: 302181411
     3077 / 3134 ( 98.2%)  Not found: 302179968
     3134 / 3134 (100.0%)  

Updating topic status

Updating bumped_at on topics

Updating last posted at on users

Updating last seen at on users

Updating topic reply counts...
   137992 / 137992 (100.0%)  [9664 items/min]     
Updating first_post_created_at...

Updating user post_count...

Updating user topic_count...

Updating topic users

Updating post timings

Updating featured topic users

Updating featured topics in categories
      123 / 123 (100.0%)  [626 items/min]  n]  
Updating user topic reply counts
   137992 / 137992 (100.0%)  [9643 items/min]     
Resetting topic counters


Done

I'm gonna run the script again on the same DBs (no changes, no DB flushes, etc)
This User Gave Thanks to Neo For This Post:
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How to migrate ?

Currently, I am planning a migration between machine which under True64UNIX. The new machine will run with higher version O/S. My question is, is there any solution on migrating one machine to another which with different O/S version? My goal is keeping minimum impact to the users. Excuse my... (1 Reply)
Discussion started by: coolmans
1 Replies

2. UNIX for Dummies Questions & Answers

Pipe not taken into consideration

I'm trying to see every file which my group (staff) has in a certain directory, recursively. The pipe ls -l -R | grep staff is not working exactly as I want, as for every directory to which my user does not have access, a line like: ls: ./directory/lost+found: The file access permissions do not... (5 Replies)
Discussion started by: panchopp
5 Replies

3. Solaris

Migrate oracle solaris 5.8 5.9

If I have an oracle 9 database environment on a san running solaris 5.8 as the os. Can I plug the san into a Solaris 5.9 environment and have the database work ? - as long as binaries are on the san (1 Reply)
Discussion started by: tim-carroll@com
1 Replies

4. Solaris

Can you migrate UFS to ZFS ?

I have some UFS volumes (non root), that I would like to change into ZFS volumes. Is this possible ? I think the only method is to create a new zfs volume and copy the data accoss, this would take a long time for us. Is there a quicker way ? Regards (5 Replies)
Discussion started by: wjones
5 Replies

5. Solaris

Migrate from MPXIO to Powerpath

Here is the issue: I am building a database server using Solaris 10x86 U8. The system is jumpstarted with mpxio enabled and booting from the san. We need to have powerpath 5.3 installed and would like to have powerpath take control of the the boot san as well or have mpxio control the san... (2 Replies)
Discussion started by: nabru72
2 Replies

6. Linux

Mysql Migrate

Hi , I would like to (MYSQL) migrate the all the data from solari's to linux box. I have checked whether mysql is installed or not. rpm -qa | grep -i mysql I confirmed !!!! I want to know the following points. 1) How can get to know what are mysql data files and location as well.... (4 Replies)
Discussion started by: Mani_apr08
4 Replies

7. BSD

Migrate a Hard Disk

hi Has anyone already tried to migrate a hard disk with FreeBSD using recoverdisk? (1 Reply)
Discussion started by: ccc
1 Replies

8. Shell Programming and Scripting

Migrate from FTP to SFTP

Hi,I am using following code for FTP in shell script file and it is working.Now I want to migrate from FTP to SFTP.What code changes/steps I have to perform for SFTP ? ftp -in <<FIN open $SAP_UP_SERVER user $SAP_UP_USER $SAP_UP_PASSWORD asc put... (7 Replies)
Discussion started by: Nitin Varshneya
7 Replies
metarecover(1M) 					  System Administration Commands					   metarecover(1M)

NAME
metarecover - recover soft partition information SYNOPSIS
/sbin/metarecover [-n] [-v] [-s setname] component -p /sbin/metarecover [-n] [-v] [-s setname] component -p {-d} /sbin/metarecover [-n] [-v] [-s setname] component -p {-m} DESCRIPTION
The metarecover command scans a specified component to look for soft partition configuration information and to regenerate the configura- tion. OPTIONS
The following options are supported: -d Recover soft partitions in the metadevice state database from the extent headers on the device. Options -d and -m are mutu- ally exclusive. -m Regenerate the extent headers and reapplies them to the underlying device based on the soft partitions listed in the metadevice state database. Options -d and -m are mutually exclusive. -n Do not actually perform the operation. Show the output or errors that would have resulted from the operation, had it been run. -p Regenerate soft partitions based on the metadevice state database or extent headers on the underlying device. If neither -d nor -m are specified, this option compares the soft partition information in the metadevice state database to the extent headers. -s setname Specify the name of the diskset on which metarecover works. Using the s option causes the command to perform its function within the specified diskset. Without the -s option, the metarecover command operates on the metadevices and/or hot spare pools in the local diskset. This option is required to recover former sps from a diskset component or raw-device. setname must be identical to the former setname in which the sps were created. The set numbers, however, seem irrelevant. -v Verbose mode, displaying the changes being made. OPERANDS
The following operand is supported: component Specifies the c*t*d*s* number of the disk or slice containing the partitions, or the device name (for example, d10) of the metadevice containing the partitions. component can be a slice name, component name, /dev/dsk path, or /dev/rdsk path. EXAMPLES
Example 1: Updating Metadevice State Database Based on Disk Extent Headers A disk containing soft partitions is moved from one system to another. The system administrator would like to use the existing soft parti- tions. metarecover updates the metadevice state database based on the extent headers on the disk. # metarecover -v c0t3d0s2 -p -d Example 2: Updating Metadevice State Database Based on Incomplete Soft Partition Creation A system crashes in the middle of creating a new soft partition. The soft partition is in the creating state and the driver does not let that device be opened. metarecover rewrites the extent headers for the partially created soft partition and mark it as Okay. # metarecover -v c0t3d0s2 -p -m Example 3: Updating Extent Headers Based on Metadevice State Database Someone accidentally overwrote a portion of a disk leaving extent headers destroyed. metarecover rewrites the extent headers to ensure a valid soft partition configuration, though user data is not recovered. # metarecover -v d5 -m Example 4: Validating Soft Partition Configuration To validate the existing soft partition configuration, use metarecover with only the -p flag. # metarecover c0t3d0s2 -p EXIT STATUS
The following exit values are returned: 0 Successful completion. >0 An error occurred. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWmdr | +-----------------------------+-----------------------------+ SEE ALSO
mdmonitord(1M), metaclear(1M), metadb(1M), metadetach(1M), metahs(1M), metainit(1M), metaoffline(1M), metaonline(1M), metaparam(1M), metarename(1M), metareplace(1M), metaroot(1M), metaset(1M), metassist(1M), metastat(1M), metasync(1M), metattach(1M), md.tab(4), md.cf(4), mddb.cf(4), md.tab(4), attributes(5), md(7D) Solaris Volume Manager Administration Guide SunOS 5.10 2 Jun 2004 metarecover(1M)
All times are GMT -4. The time now is 09:11 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy