• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 449
  • Last Modified:

/dev/sdd in linux

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
sara2000
Asked:
sara2000
  • 3
  • 2
1 Solution
 
savoneCommented:
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
 
sara2000Author Commented:
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
 
SandyCommented:
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
Cloud Class® Course: Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

 
sara2000Author Commented:
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
 
SandyCommented:
did you tried executing below command

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

Please check and let us know


TY/SA
0
 
sara2000Author Commented:
i did not try this, but disconnected all nic cables
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now