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
metadevadm(1M)						  System Administration Commands					    metadevadm(1M)

NAME
metadevadm - update metadevice information SYNOPSIS
/usr/sbin/metadevadm [-h] [-n] [ [-l]-r] [-s setname] [-u disk_specifier] [-v] DESCRIPTION
The metadevadm command facilitates the administration of device ID entries in Solaris Volume Manager. Use this command when the pathname stored in the metadevice state database no longer correctly addresses the device or when a disk drive has had its device ID changed. This command requires root privileges. OPTIONS
The following options are supported. -h Provide a help display. -l Specify that metadevadm log to syslog(3C). metadevadm logs to the DAEMON facility at the ERR level by default. See syslog.conf(4) for additional information on changing logging levels. Use this option anytime. It is most useful in startup scripts and less useful interactively. -n Emulate the effect of a command, without making any changes to the system. -r Recompute the pathname and disk specifier (including slice) associated with all devices in the metadevice state data- base if the device supports device IDs. If a device does not support device IDs or the device is not available, then no action is taken for that device. Use this option when the disk has been moved or readdressed. This option is run automatically at boot time to detect device ID changes and update the state database. -s setname Specify the name of the disk set on which metadevadm works. This option causes the command to perform its administra- tive function within the specified disk set. Without this option, the command performs its function on devices in the local disk set. -u disk_specifier Obtain the device ID associated with the disk_specifier (for example, c1t2d0) of a device and update the metadevice state database. If the device ID has not changed this option does nothing. Use this option when a disk drive has had its device ID changed during a firmware upgrade or due to changing the controller of a storage subsystem. -v Execute in verbose mode. This option has no effect when used with -u. Verbose is the default. EXAMPLES
Example 1 Updating Device ID of Disk The following example updates the device c2t3d0: # metadevadm -u c2t3d0 Updating SLVM device relocation information for c2t3d0. Old device reloc information: id19280192391293123012012010012012091398 New device reloc information: id19380192391293123012012010012012091398 The following example is a variation of the preceding, using the full pathname. # metadevadm -u /dev/dsk/c2t3d0 The following example uses the -n option, which means that the command is emulated, but does not take effect. Note that when the -v option is used with -u, -v has no effect (verbose is the default). # metadevadm -u -v -n c2t3d0 Updating SLVM device relocation information for c2t3d0. Old device reloc information: id19280192391293123012012010012012091398 New device reloc information: id19380192391293123012012010012012091398 Example 2 Recomputing Pathnames In the following example, all device names are valid. # metadevadm -r Disk movement detected. Updating device names in SLVM. In the following example, once again device names are valid. # metadevadm -r -v Disk movement detected. Updating device names in SLVM. c0t0d0s0 changed to c0t0d1s0 from device relocation information id12098123lkmklsdjaasdkfjadfjakds In the following example, metadevadm detects an invalid device name. # metadevadm -r Invalid device relocation information detected in SLVM. Please check status of following disk(s): c3t0d0 RETURN VALUES
The following exit values are returned: 0 Command was successful. 1 metadevadm encountered an error condition. 2 An invalid device ID was detected when using the -r option. This is for use in the rc2.d script. See init.d(4). ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWmdu | +-----------------------------+-----------------------------+ |Interface Stability |Stable | +-----------------------------+-----------------------------+ SEE ALSO
mdmonitord(1M), metaclear(1M), metadb(1M), metadetach(1M), metahs(1M), metainit(1M), metaoffline(1M), metaonline(1M), metaparam(1M), metarecover(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) SunOS 5.11 26 Mar 2006 metadevadm(1M)
All times are GMT -4. The time now is 12:32 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy