LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-08-2012, 01:22 PM   #16
Kustom42
Senior Member
 
Registered: Mar 2012
Distribution: Red Hat
Posts: 1,604

Rep: Reputation: 415Reputation: 415Reputation: 415Reputation: 415Reputation: 415

Yep procfs is correct, no way to merge partitions with dd. Best practices would be to backup data, re-create your partitions as needed then rsync or copy your data back.
 
Old 08-09-2012, 01:40 AM   #17
fhleung
Member
 
Registered: Aug 2004
Distribution: Lubuntu Live OS
Posts: 432

Rep: Reputation: 30
Thank you for both reply.

RSYNC require networking isn't it? That make thing a bit complex.
 
Old 08-13-2012, 12:53 AM   #18
procfs
Member
 
Registered: Jan 2006
Location: Sri Lanka
Posts: 613

Original Poster
Rep: Reputation: 34
Hi fhleung, not at all you can do will the system like

rsync -acv /directory1 /directory2 (something like that)

Regards
 
Old 08-17-2012, 06:23 AM   #19
procfs
Member
 
Registered: Jan 2006
Location: Sri Lanka
Posts: 613

Original Poster
Rep: Reputation: 34
Hi I though I should post the solution that I found to this oracle problem,

I am not sure why this happened or why oracle behave this way, but the solution was prity much simple all I had to do is add HOST=ccbsn02.localdomain to file /etc/sysconfig/network

The cluster comes up without any issue; the only change that was required was HOST entry. I just used kernel.hostaname and kernel.domainame for host name and domain name which oracle did not like. It looks like oracle reads this file (or something) to get the host name (I may be wrong) rather than getting the host name from “hostname” command while starting init.ohasd.

1. appreciate Any comments with the above findings?
2. What is the relation between dd command and this host entry?
3. If its a prerequset wonder why oracle has not documented this (at least I did not find any )

hope this help some one

Thanks and Best Regards
 
Old 08-18-2012, 11:18 AM   #20
procfs
Member
 
Registered: Jan 2006
Location: Sri Lanka
Posts: 613

Original Poster
Rep: Reputation: 34
I am sorry for the double entries, my machine is playing up!!

Last edited by procfs; 08-18-2012 at 11:38 AM.
 
Old 05-18-2014, 09:31 PM   #21
fhleung
Member
 
Registered: Aug 2004
Distribution: Lubuntu Live OS
Posts: 432

Rep: Reputation: 30
howto time command: dd??

To dd a big size harddrive, say 4TB, dd really takes LONG time.

Do you think any ways to time the dd commnad?
like how long it takes for the dd command? for example by command: ps with some options?

Last edited by fhleung; 05-18-2014 at 09:38 PM.
 
Old 05-18-2014, 10:57 PM   #22
AwesomeMachine
Senior Member
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 4,194

Rep: Reputation: 758Reputation: 758Reputation: 758Reputation: 758Reputation: 758Reputation: 758Reputation: 758
Run dd as /bin/dd In a different terminal than dd is running do:

Code:
ps aux | grep '\/bin\/dd' | awk '{print $2}' | xargs kill -USR1 $1
That should make dd spit out a progress report in the termianl dd is running in. I hope this helps.
 
Old 06-21-2016, 02:10 AM   #23
fhleung
Member
 
Registered: Aug 2004
Distribution: Lubuntu Live OS
Posts: 432

Rep: Reputation: 30
thank you for reply

useful question on dd command, what was the command to
dd .iso type file into USB disk? for example Live OS .iso

Code:
#dd if=liveOS.iso of=/dev/sdaX bs=1M

Last edited by fhleung; 06-21-2016 at 02:11 AM.
 
Old 06-23-2016, 06:11 PM   #24
AwesomeMachine
Senior Member
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 4,194

Rep: Reputation: 758Reputation: 758Reputation: 758Reputation: 758Reputation: 758Reputation: 758Reputation: 758
$ dd if=liveOS.iso of=/dev/sdb1 bs=2048 conv=sync

This copies an iso filesystem sector for sector (iso is normally 2048 bytes/sector), and it pads the last sector with zeroes up to 2048 B, because the last sector is usually only part of a sector. Depending on the iso file, and it's intended use, sometimes the final sector must be padded.
 
Old 06-23-2016, 06:49 PM   #25
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,075

Rep: Reputation: 674Reputation: 674Reputation: 674Reputation: 674Reputation: 674Reputation: 674
See you later fhleung, I mean in 2018
 
Old 09-04-2016, 10:33 PM   #26
fhleung
Member
 
Registered: Aug 2004
Distribution: Lubuntu Live OS
Posts: 432

Rep: Reputation: 30
dd command works on Ubuntu .iso as well as Centos .iso

Code:
#dd if=liveOS.iso of=/dev/sdaX
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
can ps command get stuck? yinonby Linux - Kernel 6 01-19-2012 07:37 AM
Stuck on a command LeonK Linux - Newbie 15 12-05-2006 04:54 PM
Stuck in Command Line dfego Slackware - Installation 6 07-05-2006 03:14 AM
Stuck on Command Prompt hkhiroya Debian 9 03-16-2006 12:21 PM
I'm stuck at a command prompt logiplex Linux - Software 2 09-08-2004 06:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration