?
Solved

/dev/sdd in linux

Posted on 2014-03-14
6
Medium Priority
?
369 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
Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

 

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 1500 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

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses
Course of the Month14 days, 6 hours left to enroll

770 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