Solved

/dev/sdd in linux

Posted on 2014-03-14
6
358 Views
Last Modified: 2014-03-21
Linux experts out there , My linux says that /dev/sdd is present, but I can not find it when I do >mount
Or cat /proc/partitions .
I want to disconnect this , How do I do that?
0
Comment
Question by:sara2000
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 23

Expert Comment

by:savone
ID: 39930464
Make a directory to mount it on, for example:

mkdir /mnt/newdisk

Then mount it:

mount /dev/sdd1 /mnt/newdisk

If no sdd1 is present that means there is no partitions on the disk.  In that case you need to use fdisk to create partitions.

Is this a new drive, or an old drive with data?  Do not use fdisk if the drive has data on it already.

Run the following command:

ls /dev/sdd*
0
 

Author Comment

by:sara2000
ID: 39930804
Sorry ,I have not given enough information. I found that an iscsi lun which is connected to this appliance.
I notice that there is an entry in the /etc/lvm/cahe/.cache file about this disk in the appliance.
Look like this disk is in the lvm group.
I do not know much about linux.
Is there anyway i can remove this disk from a group ?
the device is /dev/sad
0
 
LVL 13

Expert Comment

by:Sandy
ID: 39931183
check in #pvs.

if device is being used in any PV.. remove it first and if not then you can try removing .cache file


TY/SA
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:sara2000
ID: 39934686
I do not see anything when I pvs .
this is an iscsi lun onced it was connected.
iscsiadm -m session has no session
I deleted /etc/lvm/cache
fidsk -l does not show
I do not care any data, I want to disconnect this /dev/sdd
0
 
LVL 13

Accepted Solution

by:
Sandy earned 500 total points
ID: 39936679
did you tried executing below command

#echo 1 > /sys/block/sdd/device/delete

Please check and let us know


TY/SA
0
 

Author Closing Comment

by:sara2000
ID: 39945982
i did not try this, but disconnected all nic cables
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

690 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question